2021-05-05 02:42:19 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/Macchina-CLI/macchina
|
|
|
|
TERMUX_PKG_DESCRIPTION="A system information fetcher, with an emphasis on performance and minimalism."
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
|
|
TERMUX_PKG_MAINTAINER="Max Ferrer @PandaFoss"
|
2022-02-28 01:24:08 +01:00
|
|
|
TERMUX_PKG_VERSION=6.0.6
|
2021-05-05 02:42:19 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/Macchina-CLI/macchina/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2022-02-28 01:24:08 +01:00
|
|
|
TERMUX_PKG_SHA256=da77e1899b13e4612b5ca6a22e8e266beabc734153e7a59c7c8b82c142510435
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-05-05 02:42:19 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
termux_setup_rust
|
|
|
|
|
|
|
|
cargo build --jobs ${TERMUX_MAKE_PROCESSES} --target ${CARGO_TARGET_NAME} --release
|
|
|
|
install -Dm755 -t ${TERMUX_PREFIX}/bin target/${CARGO_TARGET_NAME}/release/macchina
|
|
|
|
}
|