# Template file for 'grml-zsh-config'
pkgname=grml-zsh-config
version=0.19.28
revision=1
hostmakedepends="make txt2tags ruby-asciidoctor"
short_desc="Grml's zsh setup"
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
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=79a1cba5a7232ff14b03a3ce9aeb8d42e060a0c3f6387ca799574b37b6fc400c

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
}
