aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-luassert
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
commit939a6dbf23462afb0c5db97bf29dc0b48f15470d (patch)
tree21510bcec2553b2d412b7adecff1a1152de4d722 /community/lua-luassert
parent9106fc9fb221868399e183551d3b27ac9ff42ef6 (diff)
downloadaports-939a6dbf23462afb0c5db97bf29dc0b48f15470d.tar.gz
aports-939a6dbf23462afb0c5db97bf29dc0b48f15470d.tar.bz2
aports-939a6dbf23462afb0c5db97bf29dc0b48f15470d.tar.xz
community/lua-luassert: install minimal rock_manifest
Diffstat (limited to 'community/lua-luassert')
-rw-r--r--community/lua-luassert/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-luassert/APKBUILD b/community/lua-luassert/APKBUILD
index d515d40ed8..db05398fb5 100644
--- a/community/lua-luassert/APKBUILD
+++ b/community/lua-luassert/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-luassert
_pkgname=luassert
pkgver=1.7.10
-pkgrel=0
+pkgrel=1
pkgdesc="Assertion library for Lua"
url="https://github.com/Olivine-Labs/luassert"
arch="noarch"
@@ -30,10 +30,14 @@ _subpackage() {
depends="lua$lver lua$lver-say"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local destdir="$subpkgdir/usr/share/lua/$lver/$_pkgname"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
mkdir -p "$destdir"
cp -r src/* "$destdir"/
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05 lua-luassert-1.7.10.tar.gz"