From d8c9befe612b75e4a81d9839feb1c2f77fdf0bec Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 22 Jul 2017 20:01:03 +0200 Subject: community/lua-glob-pattern: install minimal rock_manifest --- community/lua-glob-pattern/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'community/lua-glob-pattern/APKBUILD') diff --git a/community/lua-glob-pattern/APKBUILD b/community/lua-glob-pattern/APKBUILD index a5aac944c0..ea1dcd5248 100644 --- a/community/lua-glob-pattern/APKBUILD +++ b/community/lua-glob-pattern/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-glob-pattern pkgver=0.2.1.20120406 _gitrev=fc48cf953cfef57e7f2363f02e7b191819b477f6 -pkgrel=0 +pkgrel=1 pkgdesc="Converts file glob string to Lua pattern string" url="https://github.com/davidm/lua-glob-pattern" arch="noarch" @@ -43,10 +43,14 @@ _subpackage() { pkgdesc="$pkgdesc (for Lua $lver)" depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$pkgname/$pkgver-1" cd "$builddir" install -m 644 -D lua/globtopattern.lua \ "$subpkgdir"/usr/share/lua/$lver/globtopattern.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="8e1b31538d8c035558721d7793b15ea34f8e745bf25e6599fe514dce3f8b16decd13f80f67b9d782e53675a98791792ad0f16c180f6d9fc2686a4f4cc53e633e lua-glob-pattern-0.2.1.20120406.tar.gz" -- cgit v1.2.3