summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d7545ede81..43892cf3959 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lua-commonmark-git
pkgdesc = Lua parser for CommonMark using LPEG grammar
pkgver = 0.0.0.r12.ge71d851
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alerque/commonmark-lua
arch = any
license = MIT
@@ -17,17 +17,20 @@ pkgname = lua-commonmark-git
depends = lua
depends = lua-epnf
depends = lua-penlight
+ provides = lua-commonmark
conflicts = lua-commonmark
pkgname = lua52-commonmark-git
depends = lua52
depends = lua52-epnf
depends = lua52-penlight
+ provides = lua52-commonmark
conflicts = lua52-commonmark
pkgname = lua51-commonmark-git
depends = lua51
depends = lua51-epnf
depends = lua51-penlight
+ provides = lua51-commonmark
conflicts = lua51-commonmark
diff --git a/PKGBUILD b/PKGBUILD
index ed688db7c6d..73c02541025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=("lua-$_rockname-git" "lua52-$_rockname-git" "lua51-$_rockname-git")
pkgver=0.0.0.r12.ge71d851
_branch='master'
_rockrel=0
-pkgrel=1
+pkgrel=2
pkgdesc='Lua parser for CommonMark using LPEG grammar'
arch=('any')
url="https://github.com/alerque/$_project"
@@ -29,18 +29,21 @@ _package_helper() {
package_lua-commonmark-git() {
depends=('lua' "${_lua_deps[@]/#/lua-}")
+ provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
_package_helper 5.3
}
package_lua52-commonmark-git() {
depends=('lua52' "${_lua_deps[@]/#/lua52-}")
+ provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
_package_helper 5.2
}
package_lua51-commonmark-git() {
depends=('lua51' "${_lua_deps[@]/#/lua51-}")
+ provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
_package_helper 5.1
}