aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/lua-lunix/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-lunix/APKBUILD b/community/lua-lunix/APKBUILD
index de5e400b23..83fd01aa0f 100644
--- a/community/lua-lunix/APKBUILD
+++ b/community/lua-lunix/APKBUILD
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3"
pkgname=lua-lunix
_pkgname=lunix
pkgver=20150923
-pkgrel=0
+pkgrel=1
pkgdesc="Comprehensive Unix API Module for Lua"
url="https://github.com/wahern/lunix"
arch="all"
@@ -37,9 +37,13 @@ _package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
make prefix="/usr" DESTDIR="$subpkgdir" install$lver
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="b7341c5f4a5cf5bb0ac1b9fdc3eb174a lua-lunix-20150923.tar.gz