aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-09 08:15:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-09 08:15:59 +0000
commit30bc54bf9f81c446651e950210d84ba5a4bc97b8 (patch)
tree21ffe165a08b412e701f7d4e5d78814e7126a56b /main/lua-posix
parent411733df8c36bf901753464b8e2ae4466af1be50 (diff)
downloadaports-30bc54bf9f81c446651e950210d84ba5a4bc97b8.tar.bz2
aports-30bc54bf9f81c446651e950210d84ba5a4bc97b8.tar.xz
main/lua-posix: fix install dir
Diffstat (limited to 'main/lua-posix')
-rw-r--r--main/lua-posix/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 3f0c4269de..b4b633c9d5 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -5,7 +5,7 @@ _luaversions="5.1 5.2"
pkgname=lua-posix
_name=luaposix
pkgver=5.1.28
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX library for Lua $_luaver"
url="https://github.com/luaposix/luaposix"
arch="all"
@@ -64,7 +64,8 @@ _split() {
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then
mkdir -p "$subpkgdir"/$d/$_ver
- mv "$pkgdir"/$d/$_ver/$_f* "$subpkgdir"/$d/ || return 1
+ mv "$pkgdir"/$d/$_ver/$_f* "$subpkgdir"/$d/$_ver/ \
+ || return 1
rmdir "$pkgdir"/$d/$_ver 2>/dev/null || true
fi
done