void-packages/srcpkgs/pass/template
Đoàn Trần Công Danh e5af7d2b23 pass: update to 1.7.4.
2021-06-15 07:56:43 +07:00

28 lines
867 B
Bash

# Template file for 'pass'
pkgname=pass
version=1.7.4
revision=1
wrksrc="password-store-${version}"
build_style=gnu-makefile
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
depends="bash gnupg2 tree which"
checkdepends="gnupg2 tree which git"
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
maintainer="teldra <teldra@rotce.de>"
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
}
}