diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-18 20:17:33 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-20 11:12:26 +0000 |
commit | d1717647e574fd92fb9077a0ee1725ea849c7fda (patch) | |
tree | 7a9a69a846ecee2af5944aeccc2bdc0a389a140e /testing/loksh/APKBUILD | |
parent | 3cfe1d67356b42d6a6207f3670e34784d08c78a6 (diff) | |
download | aports-d1717647e574fd92fb9077a0ee1725ea849c7fda.tar.bz2 aports-d1717647e574fd92fb9077a0ee1725ea849c7fda.tar.xz |
testing/loksh: set BIN_DIR environment variable
Instead of moving the binary manually from /usr/bin to /bin.
Diffstat (limited to 'testing/loksh/APKBUILD')
-rw-r--r-- | testing/loksh/APKBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testing/loksh/APKBUILD b/testing/loksh/APKBUILD index e4fec4b7f1..5f4bd730e5 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" |