aboutsummaryrefslogtreecommitdiffstats
path: root/testing/b3sum/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-30 09:23:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-30 13:03:50 +0000
commit8bd52d1689cbaa4a22be5a3d7fc6b610fbd1a7a7 (patch)
treed2caec398299a0cfbaebb31e6c7edee74d2f9350 /testing/b3sum/APKBUILD
parent7dd7293ecc2e61b558b458c32458800881d52332 (diff)
downloadaports-8bd52d1689cbaa4a22be5a3d7fc6b610fbd1a7a7.tar.gz
aports-8bd52d1689cbaa4a22be5a3d7fc6b610fbd1a7a7.tar.bz2
aports-8bd52d1689cbaa4a22be5a3d7fc6b610fbd1a7a7.tar.xz
testing/b3sum: upgrade to 0.3.0
Diffstat (limited to 'testing/b3sum/APKBUILD')
-rw-r--r--testing/b3sum/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/testing/b3sum/APKBUILD b/testing/b3sum/APKBUILD
index 0da2f769ca..9fc4f031f4 100644
--- a/testing/b3sum/APKBUILD
+++ b/testing/b3sum/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=b3sum
-pkgver=0.2.3
+pkgver=0.3.0
pkgrel=0
pkgdesc="Command line implementation of the BLAKE3 hash function"
url="https://blake3.io"
@@ -11,22 +11,20 @@ makedepends="cargo"
source="b3sum-$pkgver.tar.gz::https://crates.io/api/v1/crates/b3sum/$pkgver/download"
case "$CARCH" in
- arm*) _features="c_neon" ;;
- x86_64) _features="c" ;;
- *) _features="" ;;
+ arm*) _features="neon" ;;
esac
build() {
- cargo build --release --locked --no-default-features --features="$_features"
+ cargo build --release --locked --no-default-features ${_features:+--features="$_features"}
}
check() {
- cargo test --release --locked --no-default-features --features="$_features"
+ cargo test --release --locked --no-default-features ${_features:+--features="$_features"}
}
package() {
- cargo install --path . --root="$pkgdir/usr" --no-default-features --features "$_features"
+ cargo install --path . --root="$pkgdir/usr" --no-default-features ${_features:+--features "$_features"}
rm "$pkgdir"/usr/.crates.toml
}
-sha512sums="6376e374f5846590c8813b89852e110834f712f7d3e2fe24bb4ddb02a3c6f58450b206a665ba9ab2bcc0fdd802004dcc5fe61e13dd424932cafae2c62b5704ac b3sum-0.2.3.tar.gz"
+sha512sums="3da4ea06e2db87f37c0f2f2f7b7c016bd25a8b692f96e2927094c3331b2ee494a8db13850720783db67a3965fd7de9928b80feeb0e24bd1ef4cf2b917ddbc091 b3sum-0.3.0.tar.gz"