void-packages/srcpkgs/pass/template

28 lines
829 B
Bash

# Template file for 'pass'
pkgname=pass
version=1.7.4
revision=3
build_style=gnu-makefile
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
depends="bash gnupg>=2 tree"
checkdepends="gnupg tree git"
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
maintainer="Leah Neukirchen <leah@vuxu.org>"
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=@8e0dc9822b3358c5c9eff35a30d076e9bcd260d0aa7c8d58579619d35e0016a3
do_check() {
mkdir -p fake-home
HOME=$(pwd)/fake-home make test
}
passmenu_package() {
short_desc="Dmenu-based interface to pass"
depends="dmenu xdotool ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vbin contrib/dmenu/passmenu
}
}