summaryrefslogtreecommitdiff
path: root/shellrc/APKBUILD
blob: 0c5f685dab80a3cd661ba3d56a12a857505dee5e (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.2
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="c3477e8a5c7a477df54b64566a0376f5b377699aab9c338fad8ba0fee0669f84782164ae2ac23611b0219a0b5186c2dd390001571c563744ca04e9edeafc69b0  shellrc-0.7.2.tar.gz"