2018-08-23 17:35:49 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/BurntSushi/ripgrep
|
|
|
|
TERMUX_PKG_DESCRIPTION="Search tool like grep and The Silver Searcher"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-06-16 14:54:35 +02:00
|
|
|
TERMUX_PKG_VERSION=13.0.0
|
2021-10-10 01:48:03 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-08-23 17:35:49 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/BurntSushi/ripgrep/archive/$TERMUX_PKG_VERSION.tar.gz
|
2021-06-16 14:54:35 +02:00
|
|
|
TERMUX_PKG_SHA256=0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-10-10 01:48:03 +02:00
|
|
|
TERMUX_PKG_DEPENDS="pcre2"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-10-10 01:48:03 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--features pcre2"
|
2018-08-23 17:35:49 +02:00
|
|
|
|
2018-09-03 23:57:26 +02:00
|
|
|
termux_step_post_make_install() {
|
2018-09-14 20:40:34 +02:00
|
|
|
# Install man page:
|
2018-08-23 17:35:49 +02:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man1/
|
2019-02-12 09:41:30 +01:00
|
|
|
cp $(find . -name rg.1) $TERMUX_PREFIX/share/man/man1/
|
2018-09-14 20:40:34 +02:00
|
|
|
|
|
|
|
# Install bash completion script:
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/bash-completion/completions/
|
2019-02-12 09:41:30 +01:00
|
|
|
cp $(find . -name rg.bash) $TERMUX_PREFIX/share/bash-completion/completions/rg
|
2018-09-14 20:40:34 +02:00
|
|
|
|
|
|
|
# Install fish completion script:
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/fish/completions/
|
2019-02-12 09:41:30 +01:00
|
|
|
cp $(find . -name rg.fish) $TERMUX_PREFIX/share/fish/completions/
|
2018-09-14 20:40:34 +02:00
|
|
|
|
|
|
|
# Install zsh completion script:
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/zsh/site-functions/
|
|
|
|
cp complete/_rg $TERMUX_PREFIX/share/zsh/site-functions/
|
2018-08-23 17:35:49 +02:00
|
|
|
}
|