summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e7e8d1ca60..fe7ebf1ff38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,20 @@
pkgname=comrak-git
pkgver=0.7.0.r17.g500d73f
-pkgrel=1
+pkgrel=2
pkgdesc='CommonMark + GFM compatible Markdown parser and renderer'
arch=('x86_64' 'i686')
url="https://github.com/kivikakk/${pkgname%-git}"
license=('MIT' 'custom')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
-makedepends=('cargo' 'rust')
+makedepends=('cargo' 'git' 'rust')
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
- git describe --tags --abbrev=7 HEAD |
+ git describe --always --tags --abbrev=7 HEAD |
sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}