summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-06 10:56:13 +0300
committerCaleb Maclennan2020-08-06 10:59:54 +0300
commit548aad88e10378af30b4be11a75ddec807cb9988 (patch)
tree0b54666bf5e26f58696bc4c55bffb7723bc8c548
parent2441bcd6bfbcd7971eef68abaac9c4ac8689f5fc (diff)
downloadaur-548aad88e10378af30b4be11a75ddec807cb9988.tar.gz
upgpkg: lua-cluacov 0.1.1-1
upstream release Add Lua 5.3 split package (Lua 5.4 broken upstream)
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77c345b3e47..8123b7e7bd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = lua-cluacov
arch = i686
license = MIT
makedepends = lua
+ makedepends = lua53
makedepends = lua52
makedepends = lua51
makedepends = luarocks
@@ -14,9 +15,9 @@ pkgbase = lua-cluacov
source = cluacov-0.1.1.tar.gz::https://github.com/mpeterv/cluacov/archive/0.1.1.tar.gz
sha256sums = fc46a69fbd9be19e022b05be252d2b2c41a4fb1799ddf41c7d325d260bc77c14
-pkgname = lua-cluacov
- depends = lua
- depends = lua-luacov
+pkgname = lua53-cluacov
+ depends = lua53
+ depends = lua53-luacov
pkgname = lua52-cluacov
depends = lua52
diff --git a/PKGBUILD b/PKGBUILD
index d75a3ef976d..f5e57ff0ed2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_rockname=cluacov
-pkgname=("lua-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
+pkgbase="lua-$_rockname"
+pkgname=("lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname") # "lua-$_rockname"
pkgver=0.1.1
pkgrel=1
pkgdesc='C extensions for LuaCov'
@@ -10,7 +11,7 @@ url="https://github.com/mpeterv/$_rockname"
license=('MIT')
depends=('lua')
_lua_deps=('luacov')
-makedepends=('lua' 'lua52' 'lua51' 'luarocks')
+makedepends=('lua' 'lua53' 'lua52' 'lua51' 'luarocks')
source=("$_rockname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('fc46a69fbd9be19e022b05be252d2b2c41a4fb1799ddf41c7d325d260bc77c14')
@@ -22,6 +23,11 @@ _package_helper() {
package_lua-cluacov() {
depends=('lua' "${_lua_deps[@]/#/lua-}")
+ _package_helper 5.4
+}
+
+package_lua53-cluacov() {
+ depends=('lua53' "${_lua_deps[@]/#/lua53-}")
_package_helper 5.3
}