summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-06 12:19:35 +0300
committerCaleb Maclennan2020-08-06 12:19:35 +0300
commitde831bfdbcd97b9497bdd2464cefc24a1fe6280e (patch)
treebf1c02f976d22a5da50cd98a6f2e36e3b69dc197
parentcdcd920edec83062ae7f854ab08df6f9b93191a6 (diff)
downloadaur-lua-commonmark-git.tar.gz
upgpkg: lua-commonmark-git 0.0.0.r12.ge71d851-4
Bump default to Lua 5.4 and add Lua 5.3 split package
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD13
2 files changed, 19 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db759aa7310..bb92289532e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = lua-commonmark-git
pkgdesc = Lua parser for CommonMark using LPEG grammar
pkgver = 0.0.0.r12.ge71d851
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/alerque/commonmark-lua
arch = any
license = MIT
makedepends = git
makedepends = lua
+ makedepends = lua53
makedepends = lua52
makedepends = lua51
makedepends = luarocks
@@ -20,6 +21,13 @@ pkgname = lua-commonmark-git
provides = lua-commonmark
conflicts = lua-commonmark
+pkgname = lua53-commonmark-git
+ depends = lua53
+ depends = lua53-luaepnf
+ depends = lua53-penlight
+ provides = lua53-commonmark
+ conflicts = lua53-commonmark
+
pkgname = lua52-commonmark-git
depends = lua52
depends = lua52-luaepnf
diff --git a/PKGBUILD b/PKGBUILD
index d7aa6957c49..419ac0477c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,17 @@
_rockname=commonmark
_project=$_rockname-lua
-pkgname=("lua-$_rockname-git" "lua52-$_rockname-git" "lua51-$_rockname-git")
+pkgname=("lua-$_rockname-git" "lua53-$_rockname-git" "lua52-$_rockname-git" "lua51-$_rockname-git")
pkgver=0.0.0.r12.ge71d851
_branch='master'
_rockrel=0
-pkgrel=3
+pkgrel=4
pkgdesc='Lua parser for CommonMark using LPEG grammar'
arch=('any')
url="https://github.com/alerque/$_project"
license=('MIT')
_lua_deps=('luaepnf' 'penlight')
-makedepends=('git' 'lua' 'lua52' 'lua51' 'luarocks')
+makedepends=('git' 'lua' 'lua53' 'lua52' 'lua51' 'luarocks')
source=("git+$url.git#branch=$_branch")
sha256sums=('SKIP')
@@ -31,6 +31,13 @@ package_lua-commonmark-git() {
depends=('lua' "${_lua_deps[@]/#/lua-}")
provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
+ _package_helper 5.4
+}
+
+package_lua53-commonmark-git() {
+ depends=('lua53' "${_lua_deps[@]/#/lua53-}")
+ provides=("${pkgname/-git}")
+ conflicts=("${pkgname/-git}")
_package_helper 5.3
}