aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-basexx/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:12 +0200
commitb309917914ea24a94f8e92ef0760efb72cb09a6d (patch)
tree4502fda826ad255ac72508221c24d63ff213de23 /community/lua-basexx/APKBUILD
parent2f4d2e5d756504613807f09eeeb45bab066dd43c (diff)
downloadaports-b309917914ea24a94f8e92ef0760efb72cb09a6d.tar.bz2
aports-b309917914ea24a94f8e92ef0760efb72cb09a6d.tar.xz
community/lua-basexx: install minimal rock_manifest
Diffstat (limited to 'community/lua-basexx/APKBUILD')
-rw-r--r--community/lua-basexx/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-basexx/APKBUILD b/community/lua-basexx/APKBUILD
index f5e54dd194..b21b1c0095 100644
--- a/community/lua-basexx/APKBUILD
+++ b/community/lua-basexx/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-basexx
_pkgname=basexx
pkgver=0.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="A Lua library for base2, base16, base32, base64, base85 decoding and encoding of data strings"
url="https://github.com/aiq/basexx/"
arch="noarch"
@@ -44,10 +44,14 @@ _subpackage() {
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local lmod_dir="$subpkgdir/usr/share/lua/$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
mkdir -p "$lmod_dir"
cp -r lib/* "$lmod_dir"/
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="96f8e5417357cc11019ae32895f685e74182d8ea64923fb124122257eda0ad64eb6da17f0f40448f688bfa3f36ebcad70a5ae159f088ac91785ec17cb1a674bd lua-basexx-0.4.0.tar.gz"