aboutsummaryrefslogtreecommitdiffstats
path: root/community/luarocks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luarocks/APKBUILD')
-rw-r--r--community/luarocks/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/luarocks/APKBUILD b/community/luarocks/APKBUILD
index 2ec621c665..bce6f78398 100644
--- a/community/luarocks/APKBUILD
+++ b/community/luarocks/APKBUILD
@@ -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"