aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-04 17:48:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-04 17:48:27 +0000
commit0df78669943737ecb93527756bf9094c9773c495 (patch)
treea128e8ca03089bc6162fb97f92e3caab5aa5fd8f
parent9ba43a2581119ef14d28017d6c0e69e37428266e (diff)
downloadaports-0df78669943737ecb93527756bf9094c9773c495.tar.gz
aports-0df78669943737ecb93527756bf9094c9773c495.tar.bz2
aports-0df78669943737ecb93527756bf9094c9773c495.tar.xz
main/lua-maxminddb: add Lua 5.3 and use install_if
-rw-r--r--main/lua-maxminddb/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/lua-maxminddb/APKBUILD b/main/lua-maxminddb/APKBUILD
index 5ce2a0a630..55a4b3bbea 100644
--- a/main/lua-maxminddb/APKBUILD
+++ b/main/lua-maxminddb/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
-_luaversions="5.1 5.2"
+_luaversions="5.1 5.2 5.3"
pkgname=lua-maxminddb
pkgver=0.1
-pkgrel=0
+pkgrel=1
pkgdesc="libmaxminddb bindings for Lua"
url="https://github.com/fabled/lua-maxminddb"
arch="all"
@@ -46,6 +46,7 @@ package() {
_split_maxminddb() {
local _ver=$1
pkgdesc="$pkgdesc $_ver"
+ install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
depends=""
cd "$srcdir"/build-$_ver