2021-10-27 16:03:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/BLAKE3-team/BLAKE3/tree/master/b3sum
|
2021-10-27 18:30:20 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="A command line utility for calculating BLAKE3 hashes, similar to Coreutils tools like b2sum or md5sum"
|
2021-10-27 16:03:40 +02:00
|
|
|
TERMUX_PKG_LICENSE="CC0-1.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="@medzikuser"
|
2022-01-08 07:10:26 +01:00
|
|
|
TERMUX_PKG_VERSION=1.3.0
|
2021-10-27 16:03:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz
|
2022-01-08 07:10:26 +01:00
|
|
|
TERMUX_PKG_SHA256=a559309c2dad8cc8314ea779664ec5093c79de2e9be14edbf76ae2ce380222c0
|
2021-10-27 18:35:30 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-10-27 16:03:40 +02:00
|
|
|
|
2021-10-27 16:31:01 +02:00
|
|
|
termux_step_make() {
|
2021-10-27 16:03:40 +02:00
|
|
|
termux_setup_rust
|
|
|
|
|
|
|
|
cd $TERMUX_PKG_SRCDIR/b3sum
|
2021-10-27 16:31:01 +02:00
|
|
|
|
|
|
|
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
2021-10-27 16:03:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2021-10-27 16:38:35 +02:00
|
|
|
install -Dm755 -t $TERMUX_PREFIX/bin $TERMUX_PKG_SRCDIR/b3sum/target/${CARGO_TARGET_NAME}/release/b3sum
|
2021-10-27 16:03:40 +02:00
|
|
|
}
|