Subject: [alpine-aports] [PATCH] testing/loksh: set BIN_DIR environment variable

From: Sören Tempel <[email-masked]>
Date: Tue, 18 Aug 2015 20:17:33 +0200

Instead of moving the binary manually from /usr/bin to /bin.
---
 testing/loksh/APKBUILD | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/testing/loksh/APKBUILD b/testing/loksh/APKBUILD
index e4fec4b..5f4bd73 100644
--- a/testing/loksh/APKBUILD
+++ b/testing/loksh/APKBUILD
@@ -19,11 +19,8 @@ build() {
 }
 
 package() {
-	make DESTDIR="$pkgdir" PREFIX="/usr" \
+	make DESTDIR="$pkgdir" PREFIX="/usr" BIN_DIR="/bin" \
 		-C "$_builddir" install || return 1
-
-	mkdir -p "$pkgdir"/bin
-	mv "$pkgdir"/usr/bin/ksh "$pkgdir"/bin || return 1
 }
 
 md5sums="aa26163fda0a9ca77556473e79981300  loksh-5.7.tar.gz"
-- 
2.5.0

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