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.0
revision=2
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=57e406c6c2d588a34b84896ba2f22811cc250d308b264499ebc870bb1ce97122
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
}