aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ossl
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:06 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:15 +0200
commited5a34eba6555e5a70da0bc12de085bdd298d1c1 (patch)
tree3f037799932debb8ea3addc068d4b60c1c7638df /main/lua-ossl
parent3bc921aac8eeeb07f7c706507b030ad44f5f93f5 (diff)
downloadaports-ed5a34eba6555e5a70da0bc12de085bdd298d1c1.tar.bz2
aports-ed5a34eba6555e5a70da0bc12de085bdd298d1c1.tar.xz
main/lua-ossl: install minimal rock_manifest
Diffstat (limited to 'main/lua-ossl')
-rw-r--r--main/lua-ossl/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-ossl/APKBUILD b/main/lua-ossl/APKBUILD
index c99f7bed44..96ec7bbfff 100644
--- a/main/lua-ossl/APKBUILD
+++ b/main/lua-ossl/APKBUILD
@@ -6,7 +6,7 @@ pkgname=lua-ossl
_pkgname=luaossl
pkgver=20161214
_ver=${pkgver%_git*}
-pkgrel=0
+pkgrel=1
pkgdesc="A comprehensive OpenSSL Lua module"
url="http://25thandclement.com/~william/projects/luaossl.html"
arch="all"
@@ -39,9 +39,13 @@ _package() {
pkgdesc="$pkgdesc for Lua $lver"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
make DESTDIR="$subpkgdir" install$lver
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="4fd0685ae80fc6f999d806adb9e67016ddca5175e8ee0fedeaae3dace709157bfd87cdbeb6d808a0539c53be60193e1ac805358a7ea2f21246c19a8b6a7d7264 luaossl-20161214.tar.gz"