summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 11 insertions, 5 deletions
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
}