From 9e1c17e0111e844920b2ce55e1551664ed1afbb1 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 22 Jul 2017 20:01:04 +0200 Subject: community/lua-optparse: install minimal rock_manifest --- community/lua-optparse/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'community') diff --git a/community/lua-optparse/APKBUILD b/community/lua-optparse/APKBUILD index 40179ee16a..93a1d42751 100644 --- a/community/lua-optparse/APKBUILD +++ b/community/lua-optparse/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-optparse _pkgname=optparse pkgver=1.2 -pkgrel=0 +pkgrel=1 pkgdesc="Parse and process command-line options" url="https://github.com/gvvaughan/optparse" arch="noarch" @@ -28,10 +28,14 @@ _subpackage() { depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local lmod_dir="$subpkgdir/usr/share/lua/$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" cd "$builddir" mkdir -p "$lmod_dir" cp -r "$builddir"/lib/* "$lmod_dir"/ + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="65d5a2a0ad05b1f43fdfe28cbc84aa9eb718d0691da24ad23a92f6ca18da29b68107cbdb1c27d45d9b0aeec01f2ed8bd6755b692db40bb871865690f49a018c9 lua-optparse-1.2.tar.gz" -- cgit v1.2.3