diff --git a/srcpkgs/tpm/template b/srcpkgs/tpm/template new file mode 100644 index 00000000000..ae59a8154ad --- /dev/null +++ b/srcpkgs/tpm/template @@ -0,0 +1,19 @@ +# Template file for 'tpm' +pkgname=tpm +version=1.2 +revision=1 +noarch=yes +build_style=gnu-makefile +makedepends="perl" +depends="bash gnupg2" +short_desc="A tiny password manager" +maintainer="Sören Tempel " +license="GPL-3" +homepage="https://github.com/nmeum/${pkgname}" +distfiles="https://github.com/nmeum/${pkgname}/archive/${version}.tar.gz" +checksum=348e172a7340535f2d507cd23350d5c635d489f942424e871169375ffe416e59 + +post_install() { + vinstall zsh_completion 644 usr/share/zsh/site-functions _${pkgname} + vinstall bash_completion 644 usr/share/bash-completion/completions ${pkgname} +}