diff options
Diffstat (limited to 'testing/lua-http/APKBUILD')
-rw-r--r-- | testing/lua-http/APKBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/lua-http/APKBUILD b/testing/lua-http/APKBUILD index 6072724743..28dd53ca15 100644 --- a/testing/lua-http/APKBUILD +++ b/testing/lua-http/APKBUILD @@ -47,6 +47,7 @@ _subpackage() { depends="lua$lver ${depends//lua-/lua$lver-}" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local lmod_dir="$subpkgdir/usr/share/lua/$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$pkgname/$pkgver-1" if [ "$lver" != "5.3" ]; then depends="$depends lua$lver-compat5.3" @@ -57,6 +58,9 @@ _subpackage() { mkdir -p "$lmod_dir" cp -r "$builddir"/http "$lmod_dir"/ + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="ed71ac09277e8602e3d4954541f06c09ef444db20e5b4e39a17b9ed4893046b1442969902c0ba84fc4c3c922a6d1c8ebf853fceda261b12bf10ea9aa24389587 lua-http-0.2.tar.gz" |