diff options
author | Anjandev Momi <anjan@momi.ca> | 2020-05-03 03:08:11 -0700 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-04 07:48:58 +0000 |
commit | cded951ab9a228d0035f841f5a0f14f05a3f3876 (patch) | |
tree | ec364ca82e089a6be62c50a91ef41af014c0e97c /testing | |
parent | ca41e4632d437fe00541b3dad89c44ed3445da32 (diff) | |
download | aports-cded951ab9a228d0035f841f5a0f14f05a3f3876.tar.bz2 aports-cded951ab9a228d0035f841f5a0f14f05a3f3876.tar.xz |
testing/gopass: upgrade to 1.9.0
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gopass/APKBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/gopass/APKBUILD b/testing/gopass/APKBUILD index 6482bdd4c9..75bdfa081e 100644 --- a/testing/gopass/APKBUILD +++ b/testing/gopass/APKBUILD @@ -2,8 +2,8 @@ # Contributor: Claas Störtenbecker <claas.stoertenbecker@gmail.com> # Maintainer: Anjandev Momi <anjan@momi.ca> pkgname=gopass -pkgver=1.8.6 -pkgrel=2 +pkgver=1.9.0 +pkgrel=0 pkgdesc="The slightly more awesome Standard Unix Password Manager for Teams. Written in Go." url="https://www.gopass.pw" arch="all !mips !mips64" @@ -12,13 +12,12 @@ depends="gnupg git" makedepends="go ncurses" source="$pkgname-$pkgver.tar.gz::https://github.com/gopasspw/gopass/archive/v$pkgver.tar.gz" builddir="$srcdir/src/github.com/gopasspw/$pkgname" +options="chmod-clean" subpackages=" - $pkgname-bash-completion:bashcomp:noarch - $pkgname-zsh-completion:zshcomp:noarch - $pkgname-fish-completion:fishcomp:noarch + $pkgname-bash-completion + $pkgname-zsh-completion + $pkgname-fish-completion " -# test suite exists but fails for reasons i don't know yet, will talk with gopass developer -options="!check" prepare() { mkdir -p "$srcdir/src/github.com/gopasspw" @@ -26,6 +25,10 @@ prepare() { default_prepare } +check() { + GOPATH="$srcdir" make test-integration +} + build() { GOPATH="$srcdir" make build @@ -42,7 +45,6 @@ bashcomp() { depends="" pkgdesc="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - install -Dm0644 "$builddir"/bash.completion "$subpkgdir"/usr/share/bash-completion/completions/gopass } @@ -50,7 +52,6 @@ zshcomp() { depends="" pkgdesc="Zsh completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel zsh" - install -Dm0644 "$builddir"/zsh.completion "$subpkgdir"/usr/share/zsh/site-functions/_gopass } @@ -58,7 +59,7 @@ fishcomp() { depends="" pkgdesc="Fish completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel fish" - install -Dm0644 "$builddir"/fish.completion "$subpkgdir"/usr/share/fish/completions/gopass.fish } -sha512sums="7acdb095cf8913954044c3206eab020f197542334798c6b94724709c3953b12f7e5b73ce8c1aa4bfd5df3acf1f424b64bfa94f9a8f68fa7116ed14c8a0f2e6f0 gopass-1.8.6.tar.gz" + +sha512sums="5f0dbc42bcdbb5acdb36806b24cc607115eb403e3ca5268818590dccf23e62f5337e570b77c5fadd42e9b508fb419b51603a6cb6bb4abe6d9fa334c9710d61ca gopass-1.9.0.tar.gz" |