#Packager: George Vlahavas # # this repackages the static binaries offered at the github download # page. # # It works for setting arch=i686 or x86_64 from the command line pkgname=ripgrep pkgver=11.0.2 pkgrel=1gv source=("https://github.com/BurntSushi/ripgrep/releases/download/${pkgver}/ripgrep-${pkgver}-${arch}-unknown-linux-musl.tar.gz") docs=("readme.md" "copying" "license-mit" "unlicense") url=https://github.com/BurntSushi/ripgrep options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ripgrep (a line oriented search tool)" "ripgrep is a line oriented search tool that combines the usability of" "The Silver Searcher (similar to ack) with the raw speed of GNU grep." "ripgrep works by recursively searching your current directory for a" "regex pattern." ) build() { cd $startdir/src/$pkgname-$pkgver-$arch-unknown-linux-musl mkdir -p $startdir/pkg/usr/bin cp rg $startdir/pkg/usr/bin/ mkdir -p $startdir/pkg/etc/bash_completion.d cp complete/rg.bash $startdir/pkg/etc/bash_completion.d/ripgrep mkdir -p $startdir/pkg/usr/man/man1 cp doc/rg.1 $startdir/pkg/usr/man/man1/ }