aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ossl
diff options
context:
space:
mode:
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"