# Contributor: Leo # Contributor: Claas Störtenbecker # Maintainer: Anjandev Momi pkgname=gopass pkgver=1.15.5 pkgrel=4 pkgdesc="The slightly more awesome Standard Unix Password Manager for Teams. Written in Go." url="https://www.gopass.pw" arch="all" license="MIT" depends="gnupg git" makedepends="go ncurses" source="$pkgname-$pkgver.tar.gz::https://github.com/gopasspw/gopass/archive/v$pkgver.tar.gz" options="chmod-clean net" subpackages=" $pkgname-bash-completion $pkgname-zsh-completion $pkgname-fish-completion $pkgname-doc " export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make build BUILDFLAGS="\$(BUILDFLAGS_NOPIE) $GOFLAGS" } check() { # This fails if user already has a ~/.password-store make test-integration } package() { make install DESTDIR="$pkgdir" PREFIX="/usr" BUILDFLAGS="\$(BUILDFLAGS_NOPIE) $GOFLAGS" install -Dm0644 "$builddir"/fish.completion \ "$pkgdir"/usr/share/fish/vendor_completions.d/gopass.fish } sha512sums=" 4e99db0020e87cb494fa33e6d63a6d3d7af10ebff79a32c95bfb18201f881c5e99ce6593c87cb43a6aa2f38bfcae23b1496eee9fbc88026aad41871ca83a94be gopass-1.15.5.tar.gz "