blob: 9aa6fb405782333626b61228e418df98e93f4a97 (
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.8.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
prompt.sh
"
options="!check"
package() {
"$builddir/install" --prefix "$pkgdir"
install -Dm644 "$srcdir"/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="0ddab6f377975089dc6219bed09ead0f11525bb93db14344c9b79833fdfb26dcfe2572c18953118d1e3e4478afe85af10a26b04a2a0591fc31aad466e2594b4a shellrc-0.8.2.tar.gz
9924b42d35827c273a3db8f76536d80128f3b9e35c3b7876cfd1dd808e2d4f1a58f09806fbbddd2ea3af07f6f94ae03e9a344f4f45b2760bb5e4ab6d8c68af1b prompt.sh"
|