From 307c8405c179c22255f4b7621dbf4df862bdb13d Mon Sep 17 00:00:00 2001 From: meator Date: Sat, 3 Jul 2021 16:14:32 +0200 Subject: [PATCH] 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. --- srcpkgs/grml-zsh-config/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/grml-zsh-config/template b/srcpkgs/grml-zsh-config/template index d6661af1c3e..9f05c0d26d0 100644 --- a/srcpkgs/grml-zsh-config/template +++ b/srcpkgs/grml-zsh-config/template @@ -1,8 +1,9 @@ # Template file for 'grml-zsh-config' pkgname=grml-zsh-config version=0.19.0 -revision=1 +revision=2 wrksrc="grml-etc-core-${version}" +hostmakedepends="make txt2tags" short_desc="Grml's zsh setup" maintainer="Christian Poulwey " license="GPL-2.0-only" @@ -10,7 +11,13 @@ 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 }