aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:12 +0200
commit8f9fe202e37a9d4f865aee7869978118fca3aff7 (patch)
treeb8c81fc081975de8c5c6df98d47a6e80bcb4ed6e
parentb309917914ea24a94f8e92ef0760efb72cb09a6d (diff)
downloadaports-8f9fe202e37a9d4f865aee7869978118fca3aff7.tar.gz
aports-8f9fe202e37a9d4f865aee7869978118fca3aff7.tar.bz2
aports-8f9fe202e37a9d4f865aee7869978118fca3aff7.tar.xz
community/lua-bit32: install minimal rock_manifest
-rw-r--r--community/lua-bit32/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-bit32/APKBUILD b/community/lua-bit32/APKBUILD
index 9178ac54cd..720915e715 100644
--- a/community/lua-bit32/APKBUILD
+++ b/community/lua-bit32/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-bit32
_pkgname=lua-compat-5.2
pkgver=5.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Lua 5.2 bit manipulation library"
url="https://github.com/keplerproject/lua-compat-5.2"
arch="all"
@@ -43,10 +43,14 @@ _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/bit32/$pkgver-1"
cd "$builddir"
install -D -m 755 build/lib/lua/$lver/bit32.so \
"$subpkgdir"/usr/lib/lua/$lver/bit32.so
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="234807e201197bc27720864a328f5b63a9fe8bf88bf1fb64cd178532c0745a330b23455fcff0e50d365034f3e43af3c835de7f10a685275da66a7a1ca873e90a lua-bit32-5.3.0.tar.gz"