template (886B)
1# Template file for 'pass' 2pkgname=pass 3version=1.7.3 4revision=3 5wrksrc="password-store-${version}" 6build_style=gnu-makefile 7make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes" 8make_check_target=test 9hostmakedepends="git" 10depends="bash gnupg2 tree" 11#checkdepends="${depends} git" 12short_desc="Standard unix password manager (git version)" 13maintainer="Dash Eclipse <dashezup@disroot.org>" 14license="GPL-2.0-or-later" 15homepage="https://www.passwordstore.org" 16 17do_fetch() { 18 git clone --depth 1 https://git.zx2c4.com/password-store ${wrksrc} 19 commit_id=$(git -C ${wrksrc} rev-parse --short HEAD) 20 sed -i "s/ v1.7.3 /v1.7.3 (git-${commit_id})/" ${wrksrc}/src/password-store.sh 21} 22 23passmenu_package() { 24 short_desc="Dmenu-based interface to pass" 25 depends="dmenu xdotool ${sourcepkg}>=${version}_${revision}" 26 pkg_install() { 27 vbin contrib/dmenu/passmenu 28 } 29}