diff options
Diffstat (limited to 'main/lua-curl')
-rw-r--r-- | main/lua-curl/APKBUILD | 6 |
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" |