aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-expat/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-01 19:56:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-01 19:56:42 +0000
commitebcbfd35408ff99a8ca089825f418d4d0b336a93 (patch)
tree64e8dd8c3ee30520ded7e185a0687ed16c075f18 /main/lua-expat/APKBUILD
parent50c6eba53c865a32d81711f356bf7fd2d7c5c362 (diff)
downloadaports-ebcbfd35408ff99a8ca089825f418d4d0b336a93.tar.bz2
aports-ebcbfd35408ff99a8ca089825f418d4d0b336a93.tar.xz
main/lua-expat: add support for Lua 5.3 and use install_if
Diffstat (limited to 'main/lua-expat/APKBUILD')
-rw-r--r--main/lua-expat/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/lua-expat/APKBUILD b/main/lua-expat/APKBUILD
index 3d62111a66..2fabc268fe 100644
--- a/main/lua-expat/APKBUILD
+++ b/main/lua-expat/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_luaversions="5.1 5.2"
+_luaversions="5.1 5.2 5.3"
pkgname=lua-expat
_name=expat
pkgver=1.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="SAX XML parser based on the Expat library"
url="https://matthewwild.co.uk/projects/luaexpat/"
arch="all"
@@ -17,7 +17,6 @@ subpackages=
for _i in $_luaversions; do
makedepends="$makedepends lua${_i}-dev"
subpackages="$subpackages lua${_i}-$_name:_split${_i/./}"
- depends="$depends lua${_i}-$_name"
done
source="http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
@@ -44,6 +43,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