diff options
author | Jiří Klimeš | 2020-08-07 13:34:19 +0200 |
---|---|---|
committer | Jiří Klimeš | 2020-08-07 13:36:10 +0200 |
commit | 96c9792d4dad819f3a41633485f8b3bb746c8f20 (patch) | |
tree | 6a35c462fd16414833f014bf3432a17dac1017f0 | |
parent | e2691e497d32672468077c53e6dbb3f6f6208d74 (diff) | |
download | aur-96c9792d4dad819f3a41633485f8b3bb746c8f20.tar.gz |
Lua 5.4 is now default in Arch Linux - update for that
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 30 insertions, 8 deletions
@@ -14,9 +14,11 @@ pkgbase = iup makedepends = lua makedepends = lua51 makedepends = lua52 + makedepends = lua53 makedepends = lua-cd makedepends = lua51-cd makedepends = lua52-cd + makedepends = lua53-cd source = https://downloads.sourceforge.net/project/iup/3.30/Docs%20and%20Sources/iup-3.30_Sources.tar.gz source = https://downloads.sourceforge.net/project/iup/3.30/Docs%20and%20Sources/iup-3.30_Docs.pdf md5sums = 2f01aed0de2186c08a0e639f46c08662 @@ -31,7 +33,7 @@ pkgname = iup depends = libxpm pkgname = lua-iup - pkgdesc = Lua 5.3 bindings for IUP GUI toolkit + pkgdesc = Lua 5.4 bindings for IUP GUI toolkit depends = iup depends = lua optdepends = lua-im: IM toolkit support @@ -51,3 +53,10 @@ pkgname = lua52-iup optdepends = lua52-im: IM toolkit support optdepends = lua52-cd: Canvas Draw support +pkgname = lua53-iup + pkgdesc = Lua 5.3 bindings for IUP GUI toolkit + depends = iup + depends = lua53 + optdepends = lua53-im: IM toolkit support + optdepends = lua53-cd: Canvas Draw support + @@ -5,7 +5,7 @@ # Contributor: Jiří Klimeš <blueowl@centrum.cz> pkgbase=iup -pkgname=('iup' 'lua-iup' 'lua51-iup' 'lua52-iup') +pkgname=('iup' 'lua-iup' 'lua51-iup' 'lua52-iup' 'lua53-iup') pkgver=3.30 pkgrel=1 pkgdesc="C cross platform GUI toolkit" @@ -21,9 +21,11 @@ makedepends=('lsb-release' 'lua' 'lua51' 'lua52' + 'lua53' 'lua-cd' 'lua51-cd' - 'lua52-cd') + 'lua52-cd' + 'lua53-cd') source=( "https://downloads.sourceforge.net/project/iup/${pkgver}/Docs%20and%20Sources/iup-${pkgver}_Sources.tar.gz" @@ -60,7 +62,7 @@ prepare() { } _lua_iup_build_helper() { - # $1 ... Lua version ("5.1", "5.2" or "5.3") + # $1 ... Lua version ("5.1", "5.2", "5.3" or "5.4") _lua_ver="$1" make \ @@ -113,15 +115,17 @@ build() { USE_PKGCONFIG=Yes \ USE_GTK3=Yes - _lua_iup_build_helper "5.3" + _lua_iup_build_helper "5.4" _lua_iup_build_helper "5.1" _lua_iup_build_helper "5.2" + + _lua_iup_build_helper "5.3" } _lua_iup_package_helper() { - # $1 ... Lua version ("5.1", "5.2", "5.3", ... or "none") + # $1 ... Lua version ("5.1", "5.2", "5.3", "5.4", ... or "none") _lua_ver="$1" _lua_ver_nodot="${_lua_ver//.}" _linux_ver="Linux$(uname -r | awk -v FS='.' -v OFS='' {'print $1,$2'})_64" @@ -173,12 +177,12 @@ package_iup() { } package_lua-iup() { - pkgdesc="Lua 5.3 bindings for IUP GUI toolkit" + pkgdesc="Lua 5.4 bindings for IUP GUI toolkit" depends=('iup' 'lua') optdepends=('lua-im: IM toolkit support' 'lua-cd: Canvas Draw support') - _lua_iup_package_helper "5.3" + _lua_iup_package_helper "5.4" } package_lua51-iup() { @@ -198,3 +202,12 @@ package_lua52-iup() { _lua_iup_package_helper "5.2" } + +package_lua53-iup() { + pkgdesc="Lua 5.3 bindings for IUP GUI toolkit" + depends=('iup' 'lua53') + optdepends=('lua53-im: IM toolkit support' + 'lua53-cd: Canvas Draw support') + + _lua_iup_package_helper "5.3" +} |