aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"