summaryrefslogtreecommitdiff
path: root/shellrc/APKBUILD
blob: c281eb425c5b4841953c2d1ec3943de0d8a7906c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=shellrc
pkgver=0.7.5
pkgrel=2
pkgdesc="Shell initialization files"
url="https://git.cynerd.cz/shellrc/"
arch="noarch"
license="GPL-3.0+"
subpackages="$pkgname-zsh $pkgname-bash"
source="https://git.cynerd.cz/shellrc/snapshot/$pkgname-$pkgver.tar.gz"
options="!check"

package() {
	"$builddir/install" --prefix "$pkgdir"
	cp prompt.sh "$pkgdir/etc/profile.d/prompt.sh"
}

zsh() {
	depends="$pkgname zsh"
	"$builddir/install" --prefix "$subpkgdir" --zsh --no-base
}

bash() {
	depends="$pkgname bash"
	"$builddir/install" --prefix "$subpkgdir" --bash --no-base
}

sha512sums="3bb456d7ce6206af724c29a08f72458cea135001e290ac5e8d131d8ce32c0d62a03c550fde563b7b868c69decdf0b73f3d16c45aa6149147e1d33582c0b3bae2  shellrc-0.7.5.tar.gz"