diff --git a/srcpkgs/gopass/template b/srcpkgs/gopass/template index 23fbd5984d5..cc6cd331afd 100644 --- a/srcpkgs/gopass/template +++ b/srcpkgs/gopass/template @@ -5,6 +5,7 @@ revision=2 build_style=go go_import_path=github.com/gopasspw/gopass go_package="${go_import_path}" +make_check_target="./tests" depends="gnupg>=2 git" checkdepends="gnupg git age" short_desc="Slightly more awesome standard unix password manager for teams" @@ -14,11 +15,9 @@ homepage="https://www.gopass.pw/" changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md" distfiles="https://github.com/gopasspw/gopass/archive/refs/tags/v${version}.tar.gz" checksum=47a2a735fc94064c3eb53c400f15c39b543bdb01753537da39403d12dddc03ea -export GOFLAGS="-buildmode=pie" +make_check_pre="GOPASS_BINARY=${GOPATH}/bin/gopass" -do_check() { - GOPASS_BINARY=${GOPATH}/bin/gopass go test -v ./tests -} +export GOFLAGS="-buildmode=pie" post_install() { vlicense LICENSE