aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-mpack
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:04 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:13 +0200
commita13de36ba9a52ff6e3762c31c83cbd1580fcd597 (patch)
treeb2f4a41e0da0f91dd7125382a47ff7b8291154d6 /community/lua-mpack
parent52a7b7a137394830dca4dc5672b348f49254f50c (diff)
downloadaports-a13de36ba9a52ff6e3762c31c83cbd1580fcd597.tar.bz2
aports-a13de36ba9a52ff6e3762c31c83cbd1580fcd597.tar.xz
community/lua-mpack: install minimal rock_manifest
Diffstat (limited to 'community/lua-mpack')
-rw-r--r--community/lua-mpack/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-mpack/APKBUILD b/community/lua-mpack/APKBUILD
index 85e5f79057..8e5059347c 100644
--- a/community/lua-mpack/APKBUILD
+++ b/community/lua-mpack/APKBUILD
@@ -1,9 +1,10 @@
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-mpack
+_rockname=mpack
_pkgname=libmpack-lua
pkgver=1.0.6
-pkgrel=0
+pkgrel=1
_libmpack_ver=1.0.4
pkgdesc="Libmpack bindings for Lua"
url="https://github.com/libmpack/libmpack-lua"
@@ -73,12 +74,16 @@ _subpackage() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-0"
make -C "$builddir-$lver" \
USE_SYSTEM_LUA=yes \
LUA_CMOD_INSTALLDIR="$(pkg-config --variable=INSTALL_CMOD lua$lver)" \
DESTDIR="$subpkgdir" \
install
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="3a2f0697f94957c15a78ff24b296a034f301d1e8ab51d5636389f0fad7be838d450c59038c61d4173fa9e0463aa5565cfc0c35c273b4961a5e5631d343ca0605 libmpack-lua-1.0.6.tar.gz