diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:03 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:13 +0200 |
commit | 043ea08bfa6d139c0fae2c5cff584e3afe805cf2 (patch) | |
tree | 5fe2610d8d64449cdb87fbbbee3e8c8323d056ba /community/lua-fun | |
parent | 40aa8501296cb8433a90d15cfdf2b769b1e69256 (diff) | |
download | aports-043ea08bfa6d139c0fae2c5cff584e3afe805cf2.tar.bz2 aports-043ea08bfa6d139c0fae2c5cff584e3afe805cf2.tar.xz |
community/lua-fun: install minimal rock_manifest
Diffstat (limited to 'community/lua-fun')
-rw-r--r-- | community/lua-fun/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-fun/APKBUILD b/community/lua-fun/APKBUILD index 6865f0c2cf..041bae69ca 100644 --- a/community/lua-fun/APKBUILD +++ b/community/lua-fun/APKBUILD @@ -1,9 +1,10 @@ # Contributor: Michael Zuo <muh.muhten@gmail.com> # Maintainer: Michael Zuo <muh.muhten@gmail.com> pkgname=lua-fun +_rockname=fun _pkgname=luafun pkgver=0.1.3 -pkgrel=5 +pkgrel=6 pkgdesc="Functional programming library" url="http://rtsisyk.github.io/luafun/" arch="noarch" @@ -44,9 +45,13 @@ _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/$_rockname/$pkgver-1" cd "$builddir" install -m 644 -D fun.lua "$subpkgdir"/usr/share/lua/$lver/fun.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="ab774af3d0dea06656039e5fc3ee86ad lua-fun-0.1.3.tar.gz" |