aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-yaml/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-yaml/APKBUILD')
-rw-r--r--main/lua-yaml/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-yaml/APKBUILD b/main/lua-yaml/APKBUILD
index 7c22c2c49e..3f3a621d6e 100644
--- a/main/lua-yaml/APKBUILD
+++ b/main/lua-yaml/APKBUILD
@@ -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