termux-packages/packages/fselect/build.sh

16 lines
598 B
Bash
Raw Normal View History

2020-03-19 20:36:19 +01:00
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_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.7
2020-03-19 20:36:19 +01:00
TERMUX_PKG_SRCURL=https://github.com/jhspetersson/fselect/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0dc6749a0c15a79639a183d44be630f59c7ce7c1af5a835fe0fd31c0eab4a653
TERMUX_PKG_AUTO_UPDATE=true
2020-03-19 20:36:19 +01:00
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
}