mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
5e22aac21d
This commit has been automatically submitted by Github Actions.
22 lines
832 B
Bash
22 lines
832 B
Bash
TERMUX_PKG_HOMEPAGE=https://age-encryption.org/v1
|
|
TERMUX_PKG_DESCRIPTION="A simple, secure and modern encryption tool"
|
|
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.11.0"
|
|
TERMUX_PKG_SRCURL=https://github.com/str4d/rage/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=f5c37b27428ad2b9ed91f0c691612dd0f91044d17565edf177fb676be4af1d35
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_rust
|
|
|
|
cargo build --jobs $TERMUX_PKG_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm755 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/rage
|
|
install -Dm755 -t $TERMUX_PREFIX/bin target/${CARGO_TARGET_NAME}/release/rage-keygen
|
|
}
|