aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-lzmq/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-lzmq/APKBUILD')
-rw-r--r--main/lua-lzmq/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-lzmq/APKBUILD b/main/lua-lzmq/APKBUILD
index 0ac34105ef..2f94e48f38 100644
--- a/main/lua-lzmq/APKBUILD
+++ b/main/lua-lzmq/APKBUILD
@@ -4,7 +4,7 @@
pkgname=lua-lzmq
_pkgname=lzmq
pkgver=0.4.3
-pkgrel=0
+pkgrel=1
pkgdesc="Lua bindings to ZeroMQ"
url="https://github.com/zeromq/lzmq"
arch="all"
@@ -46,10 +46,14 @@ _package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"/build/$lver
make DESTDIR="$subpkgdir" install || return 1
rm -Rf "$subpkgdir"/usr/share/lzmq
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="c4e51a60a5a26987bdce59e45d674a9e lua-lzmq-0.4.3.tar.gz"