aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-xml/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-xml/APKBUILD')
-rw-r--r--main/lua-xml/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-xml/APKBUILD b/main/lua-xml/APKBUILD
index 6ab35abcb2..39a609b9c2 100644
--- a/main/lua-xml/APKBUILD
+++ b/main/lua-xml/APKBUILD
@@ -3,7 +3,7 @@ pkgname=lua-xml
_pkgname=luaxml
pkgver=130610
_pkgver=$pkgver-1
-pkgrel=4
+pkgrel=5
pkgdesc="A minimal set of functions for the processing of XML data in Lua"
url="https://github.com/LuaDist2/luaxml"
arch="all"
@@ -63,6 +63,7 @@ _subpackage() {
pkgdesc="$pkgdesc $lver"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$_pkgver"
cd "$builddir-$lver"
@@ -70,6 +71,9 @@ _subpackage() {
"$subpkgdir"/usr/lib/lua/$lver/LuaXML_lib.so || return 1
install -m 755 -D LuaXml.lua \
"$subpkgdir"/usr/share/lua/$lver/LuaXml.lua
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="aabac62b5e748c04cd3591e5c2e6b417909c7a9efa1ff6c3dd1f546a2387220eb7fa1ffa56d3be0718a84a6fed51f287b68c7d334661c66787f7024d76142dfc lua-xml-130610.tar.gz