summaryrefslogtreecommitdiff
path: root/shellrc/APKBUILD
blob: 3d2e201098d445a57ab7f61b49a918d8cde0dd61 (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
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=shellrc
pkgver=0.7
pkgrel=1
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"
}

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

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

sha512sums="5f323119b8ce5c3f45aff78b1571ca3881a4e4446acc6164f899f47cc15150478a5989b4db93d58a55fc483eda921fcfd32df4d5f49d644ad662a396fe773232  shellrc-0.7.tar.gz"