Commit be39a1c0 authored by Leo's avatar Leo
Browse files

testing/blake3: new aport

https://blake3.io
BLAKE3 cryptographic hash function
parent ade6c95c
Pipeline #5117 failed with stages
in 7 minutes and 28 seconds
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=blake3
pkgver=0.1.0
pkgrel=0
pkgdesc="BLAKE3 cryptographic hash function"
url="https://blake3.io"
arch="all"
license="CC0-1.0 OR Apache-2.0"
makedepends="cargo"
source="b3sum-$pkgver.tar.gz::https://crates.io/api/v1/crates/b3sum/$pkgver/download"
builddir="$srcdir/b3sum-$pkgver"
build() {
cargo build --release --locked
}
check() {
cargo test --release --locked
}
package() {
cargo install --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates.toml
}
sha512sums="fba4d71ffa84cb4b7b1ce968e48ded1143915e82cfbef4a7a6f1b8a4e97a25f9a3490a13b157f437ad18401b7c545d1fcdbf2032f72e29dba0c8d504e415b481 b3sum-0.1.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment