New port: b3sum-1.4.1.

This commit is contained in:
mobinmob
2023-07-08 10:51:16 +03:00
parent afb8533515
commit 7379d95efb
3 changed files with 21 additions and 0 deletions

1
main/b3sum/.checksums Normal file
View File

@@ -0,0 +1 @@
f6c70792eac8cfe642fe06e285947b32 b3sum-1.4.1.tar.gz

4
main/b3sum/.pkgfiles Normal file
View File

@@ -0,0 +1,4 @@
b3sum-1.4.1-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/b3sum

16
main/b3sum/spkgbuild Normal file
View File

@@ -0,0 +1,16 @@
# description : Official BLAKE3 cryptographic hash function utility
# homepage : https://github.com/BLAKE3-team/BLAKE3
# depends : rust
name=b3sum
version=1.4.1
release=1
source="$name-$version.tar.gz::https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/$version.zip"
build() {
cd BLAKE3-$version/b3sum
cargo fetch --locked
cargo build --release
install -Dt $PKG/usr/bin target/release/$name
}