termux-packages/packages/fselect/build.sh
2020-04-28 22:17:55 +03:00

14 lines
539 B
Bash
Executable File

TERMUX_PKG_HOMEPAGE=https://github.com/jhspetersson/fselect
TERMUX_PKG_DESCRIPTION="Find files with SQL-like queries"
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
TERMUX_PKG_VERSION=0.6.10
TERMUX_PKG_SRCURL=https://github.com/jhspetersson/fselect/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=1fa86cd22fdb4a38338c343f9a917e579a6f680c961e9dca8d1a2178ab4d926b
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_make_install() {
install -Dm700 \
"$TERMUX_PKG_SRCDIR/target/$CARGO_TARGET_NAME"/release/fselect \
"$TERMUX_PREFIX"/bin/fselect
}