summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-08-06 17:48:00 +0300
committerCaleb Maclennan2020-08-06 17:48:00 +0300
commit9a462003b11056f0aff490f6d0bd971675b7eccf (patch)
treec8e7560226007bc23e65dd658e2383e3e2e92f0f
parent020aac9ef12e53f22250720d0d3070e0ee7d00d0 (diff)
downloadaur-lua-lcmark-git.tar.gz
upgpkg: lua-lcmark-git 0.29.0.5.r0.g320a347-2
Bump default to Lua 5.4 and add Lua 5.3 split package
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
2 files changed, 24 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4613d35b3f..b95ad8737c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = lua-lcmark-git
pkgdesc = A higher level Lua interface exposing lua-cmark features
pkgver = 0.29.0.5.r0.g320a347
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jgm/lcmark
arch = x86_64
arch = i686
license = BSD
makedepends = git
makedepends = lua
+ makedepends = lua53
makedepends = lua52
makedepends = lua51
makedepends = luarocks
@@ -23,6 +24,15 @@ pkgname = lua-lcmark-git
provides = lua-lcmark
conflicts = lua-lcmark
+pkgname = lua53-lcmark-git
+ depends = lua53
+ depends = lua53-cmark-git
+ depends = lua53-lpeg
+ depends = lua53-optparse
+ depends = lua53-yaml
+ provides = lua53-lcmark
+ conflicts = lua53-lcmark
+
pkgname = lua52-lcmark-git
depends = lua52
depends = lua52-cmark-git
diff --git a/PKGBUILD b/PKGBUILD
index 42bff2bce00..cbab8bf1861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,17 @@
_rockname=lcmark
_project=$_rockname
-pkgname=("lua-$_rockname-git" "lua52-$_rockname-git" "lua51-$_rockname-git" "$_rockname-git")
+pkgname=("lua-$_rockname-git" "lua53-$_rockname-git" "lua52-$_rockname-git" "lua51-$_rockname-git" "$_rockname-git")
pkgver=0.29.0.5.r0.g320a347
_branch='master'
_rockrel=5
-pkgrel=1
+pkgrel=2
pkgdesc='A higher level Lua interface exposing lua-cmark features'
arch=('x86_64' 'i686')
url="https://github.com/jgm/$_project"
license=('BSD')
_lua_deps=('cmark-git' 'lpeg' 'optparse' 'yaml')
-makedepends=('git' 'lua' 'lua52' 'lua51' 'luarocks')
+makedepends=('git' 'lua' 'lua53' 'lua52' 'lua51' 'luarocks')
source=("git+$url.git#branch=$_branch")
sha256sums=('SKIP')
@@ -25,7 +25,8 @@ prepare() {
cp -a "$_project"{,-5.1}
cp -a "$_project"{,-5.2}
cp -a "$_project"{,-5.3}
- cp -a "$_project"{,-5.3cli}
+ cp -a "$_project"{,-5.4}
+ cp -a "$_project"{,-5.4cli}
}
_package_helper() {
@@ -43,6 +44,13 @@ package_lua-lcmark-git() {
depends=('lua' "${_lua_deps[@]/#/lua-}")
provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
+ _package_helper 5.4
+}
+
+package_lua53-lcmark-git() {
+ depends=('lua53' "${_lua_deps[@]/#/lua53-}")
+ provides=("${pkgname/-git}")
+ conflicts=("${pkgname/-git}")
_package_helper 5.3
}
@@ -65,5 +73,5 @@ package_lcmark-git() {
depends=('lua' "$pkgbase")
provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
- _package_helper 5.3 cli
+ _package_helper 5.4 cli
}