From 863617755661c1c5c66873d06d185f2091c90595 Mon Sep 17 00:00:00 2001 From: valpogus <32718480+valpogus@users.noreply.github.com> Date: Thu, 19 Mar 2020 20:36:19 +0100 Subject: [PATCH] new package: fselect (#5055) --- packages/fselect/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 packages/fselect/build.sh diff --git a/packages/fselect/build.sh b/packages/fselect/build.sh new file mode 100755 index 000000000..1726a4e8b --- /dev/null +++ b/packages/fselect/build.sh @@ -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 +}