Commit e59aa9ef authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-curl: install minimal rock_manifest

parent 79cffcbd
......@@ -3,7 +3,7 @@ _luaversions="5.1 5.2 5.3"
pkgname=lua-curl
_pkgname=Lua-cURLv3
pkgver=0.3.7
pkgrel=0
pkgrel=1
pkgdesc="Lua bindings to cURL library"
url="https://github.com/Lua-cURL/Lua-cURLv3"
arch="all"
......@@ -46,9 +46,13 @@ _subpackage() {
pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$pkgname/$pkgver-1"
cd "$builddir-$lver"
make install DESTDIR="$subpkgdir" LUA_VERSION=$lver
mkdir -p "$rockdir"
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="17807168fe5ff3758f00d2f9138d397ec2ba7eb4d80a36182700c84aaeaf939fc846ec15d98e66bea20e251a0a001962e18d002999db29b378cd820b896aff42 lua-curl-0.3.7.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