summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21a5dbfc2e0..b79b168ea49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=comrak-git
-pkgver=0.8.2.r2.g1a802a8
+pkgver=0.11.0.r1.g49eef43
pkgrel=1
pkgdesc='CommonMark + GFM compatible Markdown parser and renderer'
-arch=('x86_64' 'i686')
+arch=(x86_64 i686)
url="https://github.com/kivikakk/${pkgname%-git}"
-license=('BSD')
-provides=("${pkgname%-git}")
+license=(BSD)
+provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}")
-makedepends=('cargo-nightly' 'git' 'rust-nightly' 'rustup')
+makedepends=(cargo
+ git)
source=("git+$url.git")
sha256sums=('SKIP')
@@ -21,17 +22,18 @@ pkgver() {
prepare() {
cd "${pkgname%-git}"
- cargo fetch
+ cargo update
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "${pkgname%-git}"
- cargo build --release --locked --features clap
+ cargo build --frozen --release --all-features
}
check() {
cd "${pkgname%-git}"
- cargo test --release --locked
+ cargo test --frozen --all-features
}
package () {