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"
|
2020-07-08 23:55:15 +02:00
|
|
|
TERMUX_PKG_VERSION=12.0.4
|
2019-11-28 23:26:52 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/XAMPPRocky/tokei/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2020-07-08 23:55:15 +02:00
|
|
|
TERMUX_PKG_SHA256=031dabbe1253af53fea8258e11eeb352371b6cf0c790db573ca7be33f761c733
|
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
|
|
|
|
}
|