void-packages/srcpkgs/tpm/template

20 lines
596 B
Bash

# Template file for 'tpm'
pkgname=tpm
version=1.3.2
revision=1
archs=noarch
build_style=gnu-makefile
hostmakedepends="perl"
depends="bash gnupg2"
short_desc="A tiny password manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="https://github.com/nmeum/tpm"
distfiles="https://github.com/nmeum/tpm/archive/${version}.tar.gz"
checksum=9ea145e7f731c50ba3a8dfa252c7d0b31cd5b12b03db33dd95d7d8ebb53d4e6b
post_install() {
vinstall contrib/zsh_completion 644 usr/share/zsh/site-functions _tpm
vinstall contrib/bash_completion 644 usr/share/bash-completion/completions tpm
}