community/fd to 8.5.2-1.1

This commit is contained in:
Kevin Mihelich 2022-11-03 12:34:13 +00:00
parent 71122fd0f6
commit 19a4058742

View file

@ -7,7 +7,7 @@
# systems with 16k or 64k page size
pkgname=fd
pkgver=8.4.0
pkgver=8.5.2
pkgrel=1.1
pkgdesc='Simple, fast and user-friendly alternative to find'
arch=('x86_64')
@ -16,7 +16,7 @@ license=('MIT' 'APACHE')
depends=('gcc-libs')
makedepends=('rust')
source=("fd-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('467d8cb66398d247e0849228cfe7ebf70f8a7758e126a048f7f34dcd45b0d69d3ff4afc903092dc7d17f42c7b9029e92e88acfc1cbe282857a733a355804bc1c')
sha512sums=('24496f5553eb2e7dfdac295e1844d2ec542e87eef3ffbd888e68aea4f9a235144d4bb5b955dda31510fccbb8f6f1de09f4bfa852ab4990b035e8d8dbbe7a7f70')
build() {
cd fd-$pkgver
@ -33,9 +33,12 @@ check() {
package() {
cd fd-$pkgver
install -Dm755 target/release/fd "$pkgdir"/usr/bin/fd
install -Dm644 target/release/build/fd-find-*/out/fd.bash "$pkgdir"/usr/share/bash-completion/completions/fd
install -Dm644 target/release/build/fd-find-*/out/fd.fish "$pkgdir"/usr/share/fish/vendor_completions.d/fd.fish
install -Dm644 contrib/completion/_fd "$pkgdir"/usr/share/zsh/site-functions/_fd
make completions
install -Dm644 autocomplete/fd.bash "$pkgdir"/usr/share/bash-completion/completions/fd
install -Dm644 autocomplete/fd.fish "$pkgdir"/usr/share/fish/vendor_completions.d/fd.fish
install -Dm644 autocomplete/_fd "$pkgdir"/usr/share/zsh/site-functions/_fd
install -Dm644 doc/fd.1 "$pkgdir"/usr/share/man/man1/fd.1
install -Dm644 LICENSE-APACHE "$pkgdir"/usr/share/licenses/fd/LICENSE-APACHE
install -Dm644 LICENSE-MIT "$pkgdir"/usr/share/licenses/fd/LICENSE-MIT