mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
gopass: run tests, remove useless paths, build as pie
This commit is contained in:
parent
02bb5b9a25
commit
de954cacb9
1 changed files with 8 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'gopass'
|
# Template file for 'gopass'
|
||||||
pkgname=gopass
|
pkgname=gopass
|
||||||
version=1.15.13
|
version=1.15.13
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/gopasspw/gopass
|
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"
|
depends="gnupg>=2 git"
|
||||||
|
checkdepends="gnupg git age"
|
||||||
short_desc="Slightly more awesome standard unix password manager for teams"
|
short_desc="Slightly more awesome standard unix password manager for teams"
|
||||||
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
|
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -13,6 +14,11 @@ homepage="https://www.gopass.pw/"
|
||||||
changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/gopasspw/gopass/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/gopasspw/gopass/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=8f7ee347f517bf66a7d0760e7a5ed6c948d66737559bd04fa8da594801ed9b4f
|
checksum=8f7ee347f517bf66a7d0760e7a5ed6c948d66737559bd04fa8da594801ed9b4f
|
||||||
|
export GOFLAGS="-buildmode=pie"
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
GOPASS_BINARY=${GOPATH}/bin/gopass go test -v ./tests
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue