aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:03 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:13 +0200
commit40aa8501296cb8433a90d15cfdf2b769b1e69256 (patch)
tree36c9c21c44eaeb94e7223f54c76b2ca3ea7c73b9
parent28ef2ca7aa8981f50fd680dddb2db26f9a34a01c (diff)
downloadaports-40aa8501296cb8433a90d15cfdf2b769b1e69256.tar.gz
aports-40aa8501296cb8433a90d15cfdf2b769b1e69256.tar.bz2
aports-40aa8501296cb8433a90d15cfdf2b769b1e69256.tar.xz
community/lua-fifo: install minimal rock_manifest
-rw-r--r--community/lua-fifo/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-fifo/APKBUILD b/community/lua-fifo/APKBUILD
index 6685e15496..1ab39942b5 100644
--- a/community/lua-fifo/APKBUILD
+++ b/community/lua-fifo/APKBUILD
@@ -1,9 +1,10 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-fifo
+_rockname=fifo
_pkgname=fifo.lua
pkgver=0.2
-pkgrel=0
+pkgrel=1
pkgdesc="FIFO library for Lua"
url="https://github.com/daurnimator/fifo.lua"
arch="noarch"
@@ -43,9 +44,13 @@ _subpackage() {
pkgdesc="$pkgdesc $lver"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-1"
cd "$builddir"
install -D -m 644 fifo.lua "$subpkgdir"/usr/share/lua/$lver/fifo.lua
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306 lua-fifo-0.2.tar.gz"