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:15 +0200
commit43f6a6944f26804cb593b87b37b87bd6783ee16b (patch)
treedaf2085e02d13039eb895a25e79b3771000e1326
parent109fe2c68050fe0e884e375dcfc3e8851274aa33 (diff)
downloadaports-43f6a6944f26804cb593b87b37b87bd6783ee16b.tar.gz
aports-43f6a6944f26804cb593b87b37b87bd6783ee16b.tar.bz2
aports-43f6a6944f26804cb593b87b37b87bd6783ee16b.tar.xz
main/lua-lyaml: install minimal rock_manifest
-rw-r--r--main/lua-lyaml/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-lyaml/APKBUILD b/main/lua-lyaml/APKBUILD
index ff2edefec0..96d5296131 100644
--- a/main/lua-lyaml/APKBUILD
+++ b/main/lua-lyaml/APKBUILD
@@ -2,7 +2,7 @@
_pkgname=lyaml
pkgname=lua-$_pkgname
pkgver=6.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="LibYAML binding for Lua"
url="https://github.com/gvvaughan/lyaml"
arch="all"
@@ -40,11 +40,15 @@ _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-1"
cd "$srcdir"/build-$lver
lua$lver build-aux/luke PREFIX="$subpkgdir"/usr install
rm -Rf "$subpkgdir"/usr/share/doc
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="aa101680b181d733c8648e0c800aa381c426483dc1ff59b80a6d2a3c7a058aa27e2783849da0aaaaf323c01dc891626ff194c3a86937b47ab1a5418e89128be4 lyaml-6.1.3.tar.gz"