diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:13 +0200 |
commit | 52a7b7a137394830dca4dc5672b348f49254f50c (patch) | |
tree | a21d6b8ca584bf1478ce4d8dc23704335506ac7b /community | |
parent | 6379d517873cd6c37ee104384b77b748f9f8ccc4 (diff) | |
download | aports-52a7b7a137394830dca4dc5672b348f49254f50c.tar.bz2 aports-52a7b7a137394830dca4dc5672b348f49254f50c.tar.xz |
community/lua-mediator: install minimal rock_manifest
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-mediator/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-mediator/APKBUILD b/community/lua-mediator/APKBUILD index 40044ea66f..3d0492c6de 100644 --- a/community/lua-mediator/APKBUILD +++ b/community/lua-mediator/APKBUILD @@ -4,7 +4,7 @@ pkgname=lua-mediator _pkgname=mediator_lua pkgver=1.1.2 _pkgver=$pkgver-0 -pkgrel=0 +pkgrel=1 pkgdesc="Mediator pattern implementation for pub-sub management" url="http://olivinelabs.com/mediator_lua/" arch="noarch" @@ -30,10 +30,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" cd "$builddir" install -m 644 -D src/mediator.lua \ "$subpkgdir"/usr/share/lua/$lver/mediator.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0 mediator_lua-1.1.2.tar.gz" |