void-packages/srcpkgs/grml-zsh-config/template

24 lines
664 B
Bash

# Template file for 'grml-zsh-config'
pkgname=grml-zsh-config
version=0.19.1
revision=1
wrksrc="grml-etc-core-${version}"
hostmakedepends="make txt2tags"
short_desc="Grml's zsh setup"
maintainer="Christian Poulwey <christian.poulwey@t-online.de>"
license="GPL-2.0-only"
homepage="https://grml.org/zsh/"
distfiles="https://github.com/grml/grml-etc-core/archive/refs/tags/v${version}.tar.gz"
checksum=ed9dd8101ede34ae0abaa4365cc2a378904a5198e21cdc208001dbd4abfd8d47
pre_build() {
make -C doc/ grmlzshrc.5
}
do_install() {
vinstall etc/skel/.zshrc 0644 etc/skel
vinstall etc/zsh/zshrc 0644 etc/zsh
vinstall etc/zsh/keephack 0644 etc/zsh
vman doc/grmlzshrc.5
}