diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:02 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:12 +0200 |
commit | 2f4d2e5d756504613807f09eeeb45bab066dd43c (patch) | |
tree | ee095a4793b118f19f205b35b30e5332e2d51c48 /community/lua-argparse | |
parent | 3c70f4dfee2d177c249e08aff9f1da51bd4dbbfb (diff) | |
download | aports-2f4d2e5d756504613807f09eeeb45bab066dd43c.tar.bz2 aports-2f4d2e5d756504613807f09eeeb45bab066dd43c.tar.xz |
community/lua-argparse: install minimal rock_manifest
Diffstat (limited to 'community/lua-argparse')
-rw-r--r-- | community/lua-argparse/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-argparse/APKBUILD b/community/lua-argparse/APKBUILD index c0f15131dc..d9b9426b3e 100644 --- a/community/lua-argparse/APKBUILD +++ b/community/lua-argparse/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-argparse _pkgname=argparse pkgver=0.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="Feature-rich command line parser for Lua" url="https://github.com/mpeterv/argparse" arch="noarch" @@ -49,10 +49,14 @@ _subpackage() { pkgdesc="$pkgdesc $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 -D -m 644 src/argparse.lua \ "$subpkgdir"/usr/share/lua/$lver/argparse.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="29ab0d53a985fee135ff8f4237129df338b9fcea3da7c10450bab8de4f7fde64f96bf863c97dc403388c21551a66280049c6f49531c5ea483f3fa0801e685422 lua-argparse-0.5.0.tar.gz" |