aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/lua-inspect/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/lua-inspect/APKBUILD b/main/lua-inspect/APKBUILD
index 7040cdab3e..701974d0d1 100644
--- a/main/lua-inspect/APKBUILD
+++ b/main/lua-inspect/APKBUILD
@@ -1,9 +1,10 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lua-inspect
+_rockname=inspect
_pkgname=inspect.lua
pkgver=3.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Human-readable representation of Lua tables"
url="https://github.com/kikito/inspect.lua"
arch="noarch"
@@ -33,9 +34,13 @@ _package() {
pkgdesc="$pkgdesc (for Lua $lver)"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-1"
install -Dm644 "$builddir"/inspect.lua \
"$subpkgdir"/usr/share/lua/$lver/inspect.lua
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="d8aa2fb827c5ac91ea31a267a65a5f93 lua-inspect-3.1.0.tar.gz"