Mail archive
alpine-aports

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

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
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
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Aug 18 2015 - 20:17:33 GMT