aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:04 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:14 +0200
commit5e00acaac2f6aefc7932a4588ae0a5f4fb46b409 (patch)
tree476afc024c870ec9b1ce9b6387a0614b203afeea /community
parent7fc7788f1f62623f63dfae3c2e1bd1d998b6aefd (diff)
downloadaports-5e00acaac2f6aefc7932a4588ae0a5f4fb46b409.tar.bz2
aports-5e00acaac2f6aefc7932a4588ae0a5f4fb46b409.tar.xz
community/lua-term: install minimal rock_manifest
Diffstat (limited to 'community')
-rw-r--r--community/lua-term/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-term/APKBUILD b/community/lua-term/APKBUILD
index 84a11ee426..7901d6c7fe 100644
--- a/community/lua-term/APKBUILD
+++ b/community/lua-term/APKBUILD
@@ -2,7 +2,8 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-term
pkgver=0.07
-pkgrel=0
+_rockver=0.7-1
+pkgrel=1
pkgdesc="Terminal operations for Lua"
url="https://github.com/hoelzro/lua-term"
arch="all"
@@ -43,9 +44,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/$_rockver"
cd "$builddir-$lver"
make LUA_VER=$lver LUA_DIR="$subpkgdir/usr" install
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31 lua-term-0.07.tar.gz"