aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-curl
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
commite59aa9efd2cbbeb30a00a463d0aa775a52bb3826 (patch)
treed073b158cdf589b399fa171799f83feb7e49f76f /main/lua-curl
parent79cffcbd0e69ea3a1681ae1a39e89329c077940b (diff)
downloadaports-e59aa9efd2cbbeb30a00a463d0aa775a52bb3826.tar.bz2
aports-e59aa9efd2cbbeb30a00a463d0aa775a52bb3826.tar.xz
main/lua-curl: install minimal rock_manifest
Diffstat (limited to 'main/lua-curl')
-rw-r--r--main/lua-curl/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD
index c92ccc29cb..a34699b155 100644
--- a/main/lua-curl/APKBUILD
+++ b/main/lua-curl/APKBUILD
@@ -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"