void-packages/srcpkgs/pass/template
2019-12-19 16:17:14 +01:00

25 lines
832 B
Bash

# Template file for 'pass'
pkgname=pass
version=1.7.3
revision=2
archs=noarch
wrksrc="password-store-${version}"
build_style=gnu-makefile
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
make_check_target=test
depends="bash gnupg2 tree"
checkdepends="${depends} git"
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2.0-or-later"
homepage="https://www.passwordstore.org"
distfiles="https://git.zx2c4.com/password-store/snapshot/password-store-${version}.tar.xz"
checksum=2b6c65846ebace9a15a118503dcd31b6440949a30d3b5291dfb5b1615b99a3f4
passmenu_package() {
short_desc="Dmenu-based interface to pass"
depends="dmenu xdotool ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vbin contrib/dmenu/passmenu
}
}