new package: fselect (#5055)

This commit is contained in:
valpogus 2020-03-19 20:36:19 +01:00 committed by GitHub
parent 3209fd2f59
commit 732078b8be
1 changed files with 13 additions and 0 deletions

13
packages/fselect/build.sh Executable file
View File

@ -0,0 +1,13 @@
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.9
TERMUX_PKG_SRCURL=https://github.com/jhspetersson/fselect/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=8a280ccd96c9aa0b638065eb4d17e9e75a185a89afb56d0bae522645bd8b3c66
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
}