aboutsummaryrefslogtreecommitdiffstats
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
commitef191127f54016403df492fe05de0b1579b43ec9 (patch)
treec955dec7b7b79b0175f37db189251ee919cd6b22
parent5e00acaac2f6aefc7932a4588ae0a5f4fb46b409 (diff)
downloadaports-ef191127f54016403df492fe05de0b1579b43ec9.tar.bz2
aports-ef191127f54016403df492fe05de0b1579b43ec9.tar.xz
community/lua-toml: install minimal rock_manifest
-rw-r--r--community/lua-toml/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-toml/APKBUILD b/community/lua-toml/APKBUILD
index fe2dfdb4c8..9a7b60b907 100644
--- a/community/lua-toml/APKBUILD
+++ b/community/lua-toml/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-toml
pkgver=1.0
-pkgrel=5
+pkgrel=6
pkgdesc="TOML decoder/encoder for Lua"
url="https://github.com/jonstoler/lua-toml"
arch="noarch"
@@ -43,9 +43,13 @@ _subpackage() {
pkgdesc="$pkgdesc $lver"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-0"
cd "$builddir"
install -m 644 -D toml.lua "$subpkgdir"/usr/share/lua/$lver/toml.lua
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="f04ed6f26f47d6492c7a21c310da09b1091476724022c32b81a5492713340a4571bc04c51f34dded73f4f1cf1085dbe08e280356b0f1fa88ef0efefd0685c77e lua-toml-1.0.tar.gz