# Maintainer: Ralph Torres # Contributor: Brett Cornwall # Contributor: schalox # Contributor: Simon Zimmermann # Contributor: Jon Yamokoski pkgname=pass-git pkgver=1.7.4.r12.28cec11 pkgrel=1 pkgdesc='Stores, retrieves, generates, and synchronizes passwords securely' arch=(any) url=https://passwordstore.org license=(GPL2) provides=(pass passmenu) conflicts=(pass) depends=(bash gnupg tree) makedepends=(git) checkdepends=(git) optdepends=( 'dmenu: for passmenu' 'dmenu-wayland: for passmenu in Wayland' 'git: for git support' 'qrencode: for QR code support' 'wl-clipboard: for wlroots-based Wayland clipboard support' 'xclip: for X11 clipboard support' 'xdotool: to type passwords with passmenu' 'ydotool: to type passwords with passmenu in Wayland' ) source=(git+https://git.zx2c4.com/password-store.git) sha256sums=(SKIP) pkgver() { cd password-store git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } check() { cd password-store make test } package() { cd password-store make DESTDIR="${pkgdir}" WITH_ALLCOMP=yes install cd contrib/dmenu install -Dm0755 passmenu "${pkgdir}/usr/bin/passmenu" }