summaryrefslogtreecommitdiff
path: root/shellrc/APKBUILD
blob: ba4781c5bf8ba4bc6835467183e8c94a70da68f6 (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
30
31
32
33
# 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
	prompt.sh
"
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
9924b42d35827c273a3db8f76536d80128f3b9e35c3b7876cfd1dd808e2d4f1a58f09806fbbddd2ea3af07f6f94ae03e9a344f4f45b2760bb5e4ab6d8c68af1b  prompt.sh"