gopass: run tests, remove useless paths, build as pie

This commit is contained in:
dkwo 2024-07-25 22:00:42 +02:00 committed by cinerea0
parent 02bb5b9a25
commit de954cacb9
1 changed files with 8 additions and 2 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'gopass'
pkgname=gopass
version=1.15.13
revision=1
revision=2
build_style=go
go_import_path=github.com/gopasspw/gopass
go_package="${go_import_path} ${go_import_path}/cmd/..."
go_package="${go_import_path}"
depends="gnupg>=2 git"
checkdepends="gnupg git age"
short_desc="Slightly more awesome standard unix password manager for teams"
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
license="MIT"
@ -13,6 +14,11 @@ 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=8f7ee347f517bf66a7d0760e7a5ed6c948d66737559bd04fa8da594801ed9b4f
export GOFLAGS="-buildmode=pie"
do_check() {
GOPASS_BINARY=${GOPATH}/bin/gopass go test -v ./tests
}
post_install() {
vlicense LICENSE