diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:06 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:15 +0200 |
commit | 6e7538b44516363af70431bc3159959f06fd4072 (patch) | |
tree | df701a02f7aa6523ba318facc1aed27f5f0f1e7f /main | |
parent | 5c8153a6ae15bfce8cd95844f1723b06d1293fea (diff) | |
download | aports-6e7538b44516363af70431bc3159959f06fd4072.tar.bz2 aports-6e7538b44516363af70431bc3159959f06fd4072.tar.xz |
main/lua-xml: install minimal rock_manifest
Diffstat (limited to 'main')
-rw-r--r-- | main/lua-xml/APKBUILD | 6 |
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 |