diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-10 22:06:17 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-10 22:06:53 +0100 |
commit | 6b79652132810dc73631c8224871b89fd43c24c3 (patch) | |
tree | d138a220e6d4e0ba61d400c1ea1160694816e03a /testing | |
parent | 206e880afaee087e0955d5617b35e56344d3f19d (diff) | |
download | aports-6b79652132810dc73631c8224871b89fd43c24c3.tar.bz2 aports-6b79652132810dc73631c8224871b89fd43c24c3.tar.xz |
testing/lua-http: add rock_manifest
Diffstat (limited to 'testing')
-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" |