diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-01 19:29:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-01 19:29:24 +0000 |
commit | 9f2d6a40b9f1c1a767253fc1b8da299c4d188748 (patch) | |
tree | baeef9425d6517f38a5d2f346f95b010cfcaa728 | |
parent | c3417b96b30d2bf77cccf960a13d4e920c1dba15 (diff) | |
download | aports-9f2d6a40b9f1c1a767253fc1b8da299c4d188748.tar.bz2 aports-9f2d6a40b9f1c1a767253fc1b8da299c4d188748.tar.xz |
main/lua-augeas: add support for lua 5.3, use install_if
-rw-r--r-- | main/lua-augeas/APKBUILD | 9 |
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" |