1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 07:56:40 +00:00
termux-packages/packages/b3sum/build.sh

21 lines
711 B
Bash
Raw Normal View History

2021-10-27 14:03:40 +00:00
TERMUX_PKG_HOMEPAGE=https://github.com/BLAKE3-team/BLAKE3/tree/master/b3sum
TERMUX_PKG_DESCRIPTION="Systems programming language focused on safety, speed and concurrency"
TERMUX_PKG_LICENSE="CC0-1.0"
TERMUX_PKG_MAINTAINER="@medzikuser"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_SRCURL=https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz
2021-10-27 14:14:35 +00:00
TERMUX_PKG_SHA256=0bfba4ba71a9b04afbaa6bfc45c38e0598ce404e2cc5094b1d4ef45e83db2ca1
2021-10-27 14:03:40 +00:00
termux_step_configure() {
termux_setup_rust
}
termux_step_make() {
cd $TERMUX_PKG_SRCDIR/b3sum
cargo build --release --host $CARGO_TARGET_NAME
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin $TERMUX_PKG_SRCDIR/b3sum/target/release/b3sum
}