aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-cqueues
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:05 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:14 +0200
commit79cffcbd0e69ea3a1681ae1a39e89329c077940b (patch)
tree5bc56df5233a204c53dad7f5c303ba990a3c48db /main/lua-cqueues
parentef191127f54016403df492fe05de0b1579b43ec9 (diff)
downloadaports-79cffcbd0e69ea3a1681ae1a39e89329c077940b.tar.bz2
aports-79cffcbd0e69ea3a1681ae1a39e89329c077940b.tar.xz
main/lua-cqueues: install minimal rock_manifest
Diffstat (limited to 'main/lua-cqueues')
-rw-r--r--main/lua-cqueues/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-cqueues/APKBUILD b/main/lua-cqueues/APKBUILD
index 02558bdcdc..b8448c9a89 100644
--- a/main/lua-cqueues/APKBUILD
+++ b/main/lua-cqueues/APKBUILD
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3"
pkgname=lua-cqueues
_pkgname=cqueues
pkgver=20161215
-pkgrel=0
+pkgrel=1
pkgdesc="Lua event loop using coroutines"
url="http://25thandclement.com/~william/projects/cqueues.html"
arch="all"
@@ -42,9 +42,13 @@ _package() {
pkgdesc="$pkgdesc - for Lua $lver"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-0"
cd "$builddir"
make DESTDIR="$subpkgdir" prefix=/usr install$lver
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="60060acb5b6f6d329b0c31dadddbf6242deeef5c206b3d1279cb04c68dcdf88d163ed423465af9713ca8cc03e19f6fb87589bf9a307f1f178263f0c17c7f8ac1 cqueues-20161215.tar.gz