aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2020-05-03 03:07:33 -0700
committerLeo <thinkabit.ukim@gmail.com>2020-05-04 07:48:58 +0000
commitca41e4632d437fe00541b3dad89c44ed3445da32 (patch)
tree62f5ed48e99f3b9476510a8bf29561d5e94255eb /testing
parent5b7c465ae1a89dcf15adc57a37073f055753ad6b (diff)
downloadaports-ca41e4632d437fe00541b3dad89c44ed3445da32.tar.bz2
aports-ca41e4632d437fe00541b3dad89c44ed3445da32.tar.xz
testing/gopass: modernize
Diffstat (limited to 'testing')
-rw-r--r--testing/gopass/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/gopass/APKBUILD b/testing/gopass/APKBUILD
index 79fdd1e7dc..6482bdd4c9 100644
--- a/testing/gopass/APKBUILD
+++ b/testing/gopass/APKBUILD
@@ -10,7 +10,7 @@ arch="all !mips !mips64"
license="MIT"
depends="gnupg git"
makedepends="go ncurses"
-source="${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gopasspw/gopass/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/gopasspw/$pkgname"
subpackages="
$pkgname-bash-completion:bashcomp:noarch
@@ -23,13 +23,14 @@ options="!check"
prepare() {
mkdir -p "$srcdir/src/github.com/gopasspw"
mv "$srcdir/$pkgname-$pkgver" "$srcdir/src/github.com/gopasspw/gopass"
+ default_prepare
}
build() {
GOPATH="$srcdir" make build
for completion in bash zsh fish; do
- ./gopass completion $completion > ${completion}.completion;
+ ./gopass completion $completion > $completion.completion;
done
}