aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-mosquitto
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 19:55:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 19:55:57 +0000
commit583b71aa4ea4e30b06ad42ce7da54e5e0c685168 (patch)
treeefb6fd5bbce964fa2e8351c0a9f63564f220cd30 /main/lua-mosquitto
parente85ebca6f8b9dbb2a7f48882e8655ba85e0d9720 (diff)
downloadaports-583b71aa4ea4e30b06ad42ce7da54e5e0c685168.tar.bz2
aports-583b71aa4ea4e30b06ad42ce7da54e5e0c685168.tar.xz
main/lua-mosquitto: use install_if
Diffstat (limited to 'main/lua-mosquitto')
-rw-r--r--main/lua-mosquitto/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lua-mosquitto/APKBUILD b/main/lua-mosquitto/APKBUILD
index 73522c84ec..d1403260d0 100644
--- a/main/lua-mosquitto/APKBUILD
+++ b/main/lua-mosquitto/APKBUILD
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3"
pkgname=lua-mosquitto
pkgver=0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Bindingd to libmosquitto for Lua"
url="https://github.com/flukso/lua-mosquitto"
arch="all"
@@ -15,7 +15,6 @@ makedepends="$depends_dev mosquitto-dev"
subpackages=""
for _v in $_luaversions; do
- depends="$depends lua$_v-mosquitto"
makedepends="$makedepends lua$_v-dev"
subpackages="$subpackages lua$_v-mosquitto:split_${_v/./_}"
done
@@ -58,6 +57,7 @@ package() {
_split() {
local d= _ver=$1
pkgdesc="$pkgdesc $_ver"
+ install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
depends=
for d in usr/lib/lua usr/share/lua; do
if [ -d "$pkgdir"/$d/$_ver ]; then