Commit a9b51029 authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-ldap: install minimal rock_manifest

parent fd5715c8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment