aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-augeas
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-augeas')
-rw-r--r--main/lua-augeas/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/lua-augeas/APKBUILD b/main/lua-augeas/APKBUILD
index 143df0e541..ea8f1e2bbe 100644
--- a/main/lua-augeas/APKBUILD
+++ b/main/lua-augeas/APKBUILD
@@ -1,16 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_luaversions="5.1 5.2"
-_defaultlua="5.1"
+_luaversions="5.1 5.2 5.3"
pkgname=lua-augeas
pkgver=0.1.2
-pkgrel=2
+pkgrel=3
pkgdesc="Lua bindings for Augeas"
url="http://git.alpinelinux.org/cgit/lua-augeas/"
arch="all"
license="LGPL"
-depends="lua$_defaultlua-augeas"
+depends=""
install=
makedepends="augeas-dev"
subpackages=""
@@ -52,6 +51,7 @@ _split() {
local d= _ver=$1
pkgdesc="Lua $_i bindings for Augeas"
replaces="$pkgname"
+ 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
@@ -63,6 +63,7 @@ _split() {
split_5_1() { _split 5.1; }
split_5_2() { _split 5.2; }
+split_5_3() { _split 5.3; }
md5sums="20581b3eb4cc38491dec561ab9a9c156 lua-augeas-0.1.2.tar.bz2
31296c5db6d0cf66c368f5c41b9147c1 0001-support-for-Lua-5.2.patch"