void-packages/srcpkgs/pass/template

26 lines
837 B
Bash

# Template file for 'pass'
pkgname=pass
version=1.7.2
revision=1
noarch=yes
wrksrc="password-store-${version}"
build_style=gnu-makefile
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
depends="bash gnupg2 tree xclip"
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="http://www.passwordstore.org/"
distfiles="http://git.zx2c4.com/password-store/snapshot/password-store-${version}.tar.xz"
checksum=4768c5e1965c4d2aeb28818681e484fb105b6f46cbd75a97608615c4ec6980ea
make_check_target=test
passmenu_package() {
short_desc="A dmenu-based interface to pass"
depends="dmenu xdotool ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vbin contrib/dmenu/passmenu
}
}