diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:13 +0200 |
commit | 72cff25e8368d4575d46941d1e62f6969622aabf (patch) | |
tree | 4787b94698dc7924c6ddefb7b524516f1c895ce6 /community/lua-rapidjson | |
parent | 9e1c17e0111e844920b2ce55e1551664ed1afbb1 (diff) | |
download | aports-72cff25e8368d4575d46941d1e62f6969622aabf.tar.bz2 aports-72cff25e8368d4575d46941d1e62f6969622aabf.tar.xz |
community/lua-rapidjson: install minimal rock_manifest
Diffstat (limited to 'community/lua-rapidjson')
-rw-r--r-- | community/lua-rapidjson/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-rapidjson/APKBUILD b/community/lua-rapidjson/APKBUILD index b721badb88..2ef33a3d1c 100644 --- a/community/lua-rapidjson/APKBUILD +++ b/community/lua-rapidjson/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=lua-rapidjson +_rockname=rapidjson pkgver=0.5.1 -pkgrel=0 +pkgrel=1 pkgdesc="A JSON module for Lua based on the very fast RapidJSON library" url="https://github.com/xpol/lua-rapidjson" arch="all" @@ -75,9 +76,13 @@ _subpackage() { depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local install_cmod=$(pkg-config --variable=INSTALL_CMOD lua$lver) + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-1" install -D -m 755 "$builddir"/build-$lver/rapidjson.so \ "$subpkgdir"/$install_cmod/rapidjson.so + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="281a7f98212d1648f270180a2f7475884c5cb9c9b1ee901113fc2a96bff86b4897c8d9cc0e40f7cf1b9edd09540119734118f7e06879eaaecf3f3d6f7f5f84e0 lua-rapidjson-0.5.1.tar.gz |