Subject: [alpine-aports] [PATCH] testing/pass: remove old _builddir

From: Ivan Tham <[email-masked]>
Date: Fri, 17 Mar 2017 20:37:34 +0800

---
 testing/pass/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testing/pass/APKBUILD b/testing/pass/APKBUILD
index 08f65720..f61363c0 100644
--- a/testing/pass/APKBUILD
+++ b/testing/pass/APKBUILD
@@ -18,10 +18,10 @@ subpackages="$pkgname-doc
 	$pkgname-fish-completion:fishcomp
 	$pkgname-zsh-completion:zshcomp"
 source="http://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz"
+builddir="$srcdir/password-store-$pkgver"
 
-_builddir="$srcdir/password-store-$pkgver"
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" \
 		FORCE_BASHCOMP=1 \
 		FORCE_ZSHCOMP=1 \
@@ -31,7 +31,7 @@ package() {
 contrib() {
 	pkgdesc="contrib files for pass"
 	mkdir -p "$subpkgdir"/usr/share
-	cp -a "$_builddir"/contrib "$subpkgdir"/usr/share/$pkgname
+	cp -a "$builddir"/contrib "$subpkgdir"/usr/share/$pkgname
 }
 
 bashcomp() {
-- 
2.11.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---