aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-pty
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:06 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:15 +0200
commit73e6543fcec29a5f8de5309614586fb56a628af7 (patch)
tree841a31be9e38f195a060b8dc9dd0122ed38cfc38 /main/lua-pty
parented5a34eba6555e5a70da0bc12de085bdd298d1c1 (diff)
downloadaports-73e6543fcec29a5f8de5309614586fb56a628af7.tar.bz2
aports-73e6543fcec29a5f8de5309614586fb56a628af7.tar.xz
main/lua-pty: install minimal rock_manifest
Diffstat (limited to 'main/lua-pty')
-rw-r--r--main/lua-pty/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-pty/APKBUILD b/main/lua-pty/APKBUILD
index 38b9e60ef2..d3087dca08 100644
--- a/main/lua-pty/APKBUILD
+++ b/main/lua-pty/APKBUILD
@@ -3,7 +3,7 @@ pkgname=lua-pty
_pkgname=lpty
pkgver=1.2.1
_rockver=1
-pkgrel=0
+pkgrel=1
pkgdesc="Lua module to control other programs via PTYs."
url="http://www.tset.de/lpty/"
arch="all"
@@ -45,6 +45,7 @@ package() {
_subpackage() {
local lver="${subpkgname:3:3}"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-$_rockver"
pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
@@ -52,6 +53,9 @@ _subpackage() {
cd "$builddir-$lver"
make INST_DIR="$subpkgdir/usr" LUAVERSION=$lver install
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="6eadcd08580d8eb5e60abe7273b74d61 lpty-1.2.1-1.tar.gz"