Commit a9385ec5 authored by Jakub Jirutka's avatar Jakub Jirutka

community/luarocks: triggeres should not be defined in split func

However, this does not solve the problem that trigger is not triggered
when a Lua module is uninstalled (i.e. rock's directory inside the
watched directory is deleted).
parent de003057
......@@ -20,6 +20,7 @@ _lua_versions="5.1 5.2 5.3"
for _v in $_lua_versions; do
makedepends="$makedepends lua$_v-dev"
subpackages="$subpackages $pkgname${_v}:_subpackage"
triggers="$triggers $pkgname$_v.trigger=/usr/lib/luarocks/rocks-$_v:/usr/lib/luarocks/rocks-common"
done
prepare() {
......@@ -60,7 +61,6 @@ _subpackage() {
pkgdesc="Deployment and management system for Lua $lver modules"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
depends="lua$lver"
triggers="$subpkgname.trigger=/usr/lib/luarocks/rocks-$lver/*:/usr/lib/luarocks/rocks-common/*"
cd "$builddir-$lver"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment