void-packages/srcpkgs/grml-zsh-config/template
meator 307c8405c1 grml-zsh-config: add manpage and a missing file
This commit generates the grmlzshrc(5) man page via txt2tags and adds
it to the package and adds the etc/zsh/keephack file  into the
package.
2021-07-10 21:00:28 +02:00

23 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
}