aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-lub
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
commit823f076f150fc648390517dedb9dc15684c301ba (patch)
treeda99d435b33cb065179475624dd2d0d50d995511 /main/lua-lub
parenta9b51029e63388f0d4c8b5cbb285f21e19c20cd0 (diff)
downloadaports-823f076f150fc648390517dedb9dc15684c301ba.tar.bz2
aports-823f076f150fc648390517dedb9dc15684c301ba.tar.xz
main/lua-lub: install minimal rock_manifest
Diffstat (limited to 'main/lua-lub')
-rw-r--r--main/lua-lub/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-lub/APKBUILD b/main/lua-lub/APKBUILD
index 70449d1e8f..e68e7b6012 100644
--- a/main/lua-lub/APKBUILD
+++ b/main/lua-lub/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-lub
_pkgname=lub
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Lubyk base module for Lua"
url="http://doc.lubyk.org/lub.html"
arch="noarch"
@@ -29,9 +29,13 @@ _subpackage() {
pkgdesc="$pkgdesc $lver"
depends="$depends lua$lver lua$lver-filesystem"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
mkdir -p "$subpkgdir"/usr/share/lua/$lver
cp -r "$builddir"/lub "$subpkgdir"/usr/share/lua/$lver/
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="093cbf163ef2fea60031aea2619ae4b9 lua-lub-1.1.0.tar.gz"