diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-optparse/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
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" |