aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ldap/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:05 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:14 +0200
commita9b51029e63388f0d4c8b5cbb285f21e19c20cd0 (patch)
treeb246d88d150f8ccabc9af853264286b911946f4f /main/lua-ldap/APKBUILD
parentfd5715c8799c993d921fc5fff276e9c49546073f (diff)
downloadaports-a9b51029e63388f0d4c8b5cbb285f21e19c20cd0.tar.bz2
aports-a9b51029e63388f0d4c8b5cbb285f21e19c20cd0.tar.xz
main/lua-ldap: install minimal rock_manifest
Diffstat (limited to 'main/lua-ldap/APKBUILD')
-rw-r--r--main/lua-ldap/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-ldap/APKBUILD b/main/lua-ldap/APKBUILD
index 0ea82cacd2..aa76150790 100644
--- a/main/lua-ldap/APKBUILD
+++ b/main/lua-ldap/APKBUILD
@@ -4,7 +4,7 @@
pkgname=lua-ldap
_pkgname=lualdap
pkgver=1.2.3
-pkgrel=4
+pkgrel=5
pkgdesc="Lua binding to LDAP"
url="https://github.com/bdellegrazie/lualdap"
arch="all"
@@ -63,6 +63,7 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
@@ -73,6 +74,9 @@ _package() {
make DESTDIR="$subpkgdir" \
LUA_LIBDIR="$(pkg-config --variable=INSTALL_CMOD lua$lver)" \
install
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="51934d18d1ee97a0130545e657497e51542eef97c338df14e7171f94a2d6395fceb00313e1e64e46e6cdeedf85a17c63284595fdf6fbce8b7abce29d28f1b4a7 lualdap-1.2.3.tar.gz