summaryrefslogtreecommitdiff
path: root/shellrc/APKBUILD
blob: 4d4be0e48e9d8d56278861c38a59b1e9efea42cb (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.1
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="fa3bb25f72accdb961c129cf040a721237a76d69c0c4234caa2bd7a72fc703dff66d8fa1bf0ecd89124919667eca3fcdd3ff8bb1052471699155e76c3a058ae4  shellrc-0.7.1.tar.gz"