summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGeorge Rawlinson2022-01-29 23:30:54 +0000
committerGeorge Rawlinson2022-01-29 23:30:54 +0000
commit1bc21e6d5f0ddff30fd9d8eefdd84511de4c7924 (patch)
tree71b48329877965f897817e2992d2d9a50a9ade52 /PKGBUILD
parent91bd62bb9995a57ada4fcad82e9e935b5e4f90a2 (diff)
downloadaur-sheldon.tar.gz
upgpkg: sheldon 0.6.6-2
I'm tired!
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7e68ec28fef..2af5eb3dc5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sheldon
pkgver=0.6.6
-pkgrel=1
+pkgrel=2
pkgdesc="A fast and configurable shell plugin manager"
arch=('x86_64')
url="https://sheldon.cli.rs"
@@ -16,11 +16,17 @@ b2sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --tags | sed 's/^[vV]//;s/-/+/g'
+
+ git describe --tags | sed 's/^v//'
}
prepare() {
cd "$pkgname"
+
+ # backport fix for tests
+ git cherry-pick --no-commit 9aa06fdd5cb284daae8c48648d614e3823f3f9f3
+
+ # download dependencies
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
@@ -36,6 +42,7 @@ build() {
check() {
cd "$pkgname"
+
cargo test --frozen --all-features
}