Commit 6e7538b4 authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-xml: install minimal rock_manifest

parent 5c8153a6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment