diff options
-rw-r--r-- | main/lua-lub/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-lub/APKBUILD b/main/lua-lub/APKBUILD index 70449d1e8f..e68e7b6012 100644 --- a/main/lua-lub/APKBUILD +++ b/main/lua-lub/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-lub _pkgname=lub pkgver=1.1.0 -pkgrel=0 +pkgrel=1 pkgdesc="Lubyk base module for Lua" url="http://doc.lubyk.org/lub.html" arch="noarch" @@ -29,9 +29,13 @@ _subpackage() { pkgdesc="$pkgdesc $lver" depends="$depends lua$lver lua$lver-filesystem" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" mkdir -p "$subpkgdir"/usr/share/lua/$lver cp -r "$builddir"/lub "$subpkgdir"/usr/share/lua/$lver/ + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="093cbf163ef2fea60031aea2619ae4b9 lua-lub-1.1.0.tar.gz" |