aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-copas/APKBUILD
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:12 +0200
commit43194561d12a87cfc725fdc0a21cfc698ccb80e4 (patch)
treec9cf00822976701ff77523d1981e21dbab451a19 /community/lua-copas/APKBUILD
parentb82507736e2e27f468ae958fd3b90eef75851c5c (diff)
downloadaports-43194561d12a87cfc725fdc0a21cfc698ccb80e4.tar.bz2
aports-43194561d12a87cfc725fdc0a21cfc698ccb80e4.tar.xz
community/lua-copas: install minimal rock_manifest
Diffstat (limited to 'community/lua-copas/APKBUILD')
-rw-r--r--community/lua-copas/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-copas/APKBUILD b/community/lua-copas/APKBUILD
index c3a760a093..5133086bb7 100644
--- a/community/lua-copas/APKBUILD
+++ b/community/lua-copas/APKBUILD
@@ -4,7 +4,7 @@ pkgname=lua-copas
_pkgname=copas
pkgver=2.0.2
_pkgver=${pkgver//./_}
-pkgrel=0
+pkgrel=1
pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua"
url="http://keplerproject.github.io/copas/"
arch="noarch"
@@ -46,9 +46,13 @@ _subpackage() {
depends="lua$lver ${depends//lua-/lua$lver-}"
[ "$lver" = 5.1 ] && depends="$depends lua5.1-coxpcall"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
make LUA_DIR="$subpkgdir/usr/share/lua/$lver" install
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="dd83a513fbddb2f0164c3573b417623f5cc556413c4937be7e362f4c1667bad83391143e1bf609480726730ce488c4080e810f2ce12a98a7abb5293993c10182 lua-copas-2.0.2.tar.gz"