Commit 5a1f4c72 authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-yaml: install minimal rock_manifest

parent 6e7538b4
......@@ -4,7 +4,7 @@
pkgname=lua-yaml
_pkgname=yaml
pkgver=1.1.2
pkgrel=0
pkgrel=1
pkgdesc="LibYaml binding for Lua"
url="http://yaml.luaforge.net"
arch="all"
......@@ -47,6 +47,7 @@ package() {
_subpackage() {
local lver="${subpkgname:3:3}"
local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
pkgdesc="$pkgdesc $lver"
depends="$depends lua$lver lua$lver-lub"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......@@ -54,6 +55,9 @@ _subpackage() {
cd "$builddir"/build/$lver
make DESTDIR="$subpkgdir" install
mkdir -p "$rockdir"
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="6665b0c82da0edae184b8a32be7518b5 lua-yaml-1.1.2.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