aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 12:17:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 12:17:32 +0000
commit8e0177312f1c027f0b388ed05f4f1a093c24e3d7 (patch)
tree91543754906f806ced513b1fb4f7e08149eecb9e
parenta060ffa40636331f15de0636c3c41fac0b0628a0 (diff)
downloadaports-8e0177312f1c027f0b388ed05f4f1a093c24e3d7.tar.bz2
aports-8e0177312f1c027f0b388ed05f4f1a093c24e3d7.tar.xz
main/lua-xml: use install_if
-rw-r--r--main/lua-xml/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lua-xml/APKBUILD b/main/lua-xml/APKBUILD
index 926d1c7fbc..cbe0f12953 100644
--- a/main/lua-xml/APKBUILD
+++ b/main/lua-xml/APKBUILD
@@ -3,7 +3,7 @@ _luaversions="5.1 5.2"
pkgname=lua-xml
_name=LuaXML
pkgver=130610
-pkgrel=1
+pkgrel=2
pkgdesc="a minimal set of functions for the processing of XML data in Lua"
url="http://viremo.eludi.net/LuaXML/index.html"
arch="all"
@@ -13,7 +13,6 @@ makedepends=""
install=
subpackages=
for _v in $_luaversions; do
- depends="$depends lua$_v-xml"
makedepends="$makedepends lua$_v-dev"
subpackages="$subpackages lua$_v-xml:split_${_v/./_}"
done
@@ -58,6 +57,7 @@ package() {
_split() {
local d= _ver=$1
pkgdesc="$pkgdesc for Lua $_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