aboutsummaryrefslogtreecommitdiffstats
path: root/community/grml-zsh-config/APKBUILD
blob: 4efe0b1a674850b1dc92c91d353089aa979eca6c (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
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=grml-zsh-config
_pkgname="grml-etc-core"
pkgver=0.17.4
pkgrel=0
pkgdesc="grml's zsh setup"
url="https://grml.org/zsh/"
arch="noarch"
license="GPL-2.0-only"
depends="zsh zsh-vcs"
makedepends="txt2tags"
subpackages="$pkgname-doc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/grml/grml-etc-core/archive/v$pkgver.tar.gz"
options="!check" # no tests
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	make -C doc
}

package() {
	install -Dm644 etc/skel/.zshrc "$pkgdir"/etc/skel/.zshrc
	install -Dm644 etc/zsh/keephack "$pkgdir"/etc/zsh/keephack
	install -Dm644 etc/zsh/zshrc "$pkgdir"/etc/zsh/zshrc

	install -Dm644 doc/grmlzshrc.5 "$pkgdir"/usr/share/man/man5/grmlzshrc.5
	ln -sf grmlzshrc.5.gz "$pkgdir"/usr/share/man/man5/grml-zsh-config.5.gz
}

sha512sums="af51e7ad774df924e91ce03de2b0dc82b82f20629ba56a52b66011c0a77ba603549cb22cd96ed734dd0bd8b1c8d3a7f56e7ae27f6b495b0172b2904d69dee302  grml-etc-core-0.17.4.tar.gz"