Commit fd5715c8 authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-inspect: install minimal rock_manifest

parent 8a0ec432
# 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment