void-packages/srcpkgs/pass/template

28 lines
828 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="Orphaned <orphan@voidlinux.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=cfa9faf659f2ed6b38e7a7c3fb43e177d00edbacc6265e6e32215ff40e3793c0
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
}
}