aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-resty-http
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:04 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:14 +0200
commit32ddac3d1486e1bdf115790243fc90377dd5ce15 (patch)
tree5ab37d0a012d2d406c37d262e5b59f6f5d6dd933 /community/lua-resty-http
parentf40302abffacff85f05096cf7542a21e94a2a257 (diff)
downloadaports-32ddac3d1486e1bdf115790243fc90377dd5ce15.tar.bz2
aports-32ddac3d1486e1bdf115790243fc90377dd5ce15.tar.xz
community/lua-resty-http: install minimal rock_manifest
Diffstat (limited to 'community/lua-resty-http')
-rw-r--r--community/lua-resty-http/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-resty-http/APKBUILD b/community/lua-resty-http/APKBUILD
index 9763d297fd..ef6c687825 100644
--- a/community/lua-resty-http/APKBUILD
+++ b/community/lua-resty-http/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-resty-http
pkgver=0.10
-pkgrel=0
+pkgrel=1
pkgdesc="Lua HTTP client cosocket driver for OpenResty / ngx_lua"
url="https://github.com/pintsized/lua-resty-http"
arch="noarch"
@@ -26,9 +26,13 @@ _subpackage() {
pkgdesc="$pkgdesc (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"
make install DESTDIR="$subpkgdir" LUA_LIB_DIR="/usr/share/lua/$lver"
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="5ce79bd5e58c09418470fd588670b79610085b61571861c6c9fd71e716c6b599a426e4045431c0e8ab493b5b66d2f851251fc2b0aaed338433619ff3669aab05 lua-resty-http-0.10.tar.gz"