termux-packages/packages/tokei/build.sh

15 lines
596 B
Bash
Raw Normal View History

2019-11-28 23:26:52 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/XAMPPRocky/tokei
TERMUX_PKG_DESCRIPTION="A blazingly fast CLOC (Count Lines Of Code) program"
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
TERMUX_PKG_VERSION=11.2.0
2019-11-28 23:26:52 +01:00
TERMUX_PKG_SRCURL=https://github.com/XAMPPRocky/tokei/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=13f6753655c6b4b0b6d5d2208154647609fd3a16ce2a13f414cf0f6c01752e55
2019-11-28 23:26:52 +01:00
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--features all"
termux_step_post_make_install() {
install -Dm700 \
"$TERMUX_PKG_SRCDIR/target/$CARGO_TARGET_NAME"/release/tokei \
"$TERMUX_PREFIX"/bin/tokei
}