summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-06 11:56:43 +0300
committerCaleb Maclennan2020-08-06 11:56:43 +0300
commit2f520c295dd8c02a8c9777e1725eca794d89a251 (patch)
tree3b8b0fc4371e2438b2971107f6a5a72a856c44e2
parent4d575ef06db45263762772c4f26be678a3b650c7 (diff)
downloadaur-2f520c295dd8c02a8c9777e1725eca794d89a251.tar.gz
upgpkg: lua-cmark 0.29.0-2
Bump default to Lua 5.4 and add Lua 5.3 split package
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 16 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7bba5529d17..775b4aa1bd7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = lua-cmark
pkgdesc = Lua wrapper for libcmark, CommonMark Markdown parsing and rendering library
pkgver = 0.29.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jgm/cmark-lua
arch = x86_64
arch = i686
license = BSD
makedepends = lua
+ makedepends = lua53
makedepends = lua52
makedepends = lua51
makedepends = luarocks
@@ -16,6 +17,9 @@ pkgbase = lua-cmark
pkgname = lua-cmark
depends = lua
+pkgname = lua53-cmark
+ depends = lua53
+
pkgname = lua52-cmark
depends = lua52
diff --git a/PKGBUILD b/PKGBUILD
index 89abbf02e89..f764f25e60b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,23 @@
_rockname=cmark
_project=$_rockname-lua
-pkgname=("lua-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
+pkgname=("lua-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
pkgver=0.29.0
_rockrel=1
-pkgrel=1
+pkgrel=2
pkgdesc='Lua wrapper for libcmark, CommonMark Markdown parsing and rendering library'
arch=('x86_64' 'i686')
url="https://github.com/jgm/$_project"
license=('BSD')
-makedepends=('lua' 'lua52' 'lua51' 'luarocks')
+makedepends=('lua' 'lua53' 'lua52' 'lua51' 'luarocks')
source=("$_rockname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('44965157b8c306324547fd75938fb97ff958f443219b4611d6823dd1daa1d6e2')
prepare() {
- cp -a "$_project-$pkgver"{,-5.1}
- cp -a "$_project-$pkgver"{,-5.2}
+ cp -a "$_project-$pkgver"{,-5.4}
cp -a "$_project-$pkgver"{,-5.3}
+ cp -a "$_project-$pkgver"{,-5.2}
+ cp -a "$_project-$pkgver"{,-5.1}
}
_package_helper() {
@@ -29,6 +30,11 @@ _package_helper() {
package_lua-cmark() {
depends=('lua')
+ _package_helper 5.4
+}
+
+package_lua53-cmark() {
+ depends=('lua53')
_package_helper 5.3
}