fd: 8.4.0 -> 8.5.2

This commit is contained in:
Tim Biermann 2022-11-04 05:38:07 +00:00
parent f5c0263a2f
commit 4a9830896f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 11 additions and 23 deletions

View File

@ -2,15 +2,6 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/fd
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/bash-completion/
drwxr-xr-x root/root usr/share/bash-completion/completions/
-rw-r--r-- root/root usr/share/bash-completion/completions/fd
drwxr-xr-x root/root usr/share/fish/
drwxr-xr-x root/root usr/share/fish/vendor_completions.d/
-rw-r--r-- root/root usr/share/fish/vendor_completions.d/fd.fish
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/fd.1.gz
drwxr-xr-x root/root usr/share/zsh/
drwxr-xr-x root/root usr/share/zsh/site-functions/
-rw-r--r-- root/root usr/share/zsh/site-functions/_fd

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zmeP+G4rYNnsX3HZ4rDK8jIPXwv02FCZuPasWoiDkoLiWv6Med8546EjSpSpzorvj9Mrzt2JYpm62ue3qGXiQ4=
SHA256 (Pkgfile) = 5201a3d1f3c7af24a686f756efb4d9b21423a5fdc15c07c4ebefd4ba2569459b
SHA256 (.footprint) = 84890c775cb86622f0b4e64a63cbefdd9f8b5d58ffa31163c7f78f973b125613
SHA256 (fd-v8.4.0.tar.gz) = d0c2fc7ddbe74e3fd88bf5bb02e0f69078ee6d2aeea3d8df42f508543c9db05d
RWSagIOpLGJF3x331uwE2nrgp8j+zXf//YwS8d7ZD2yT7bWT4JCLHGrFKgs//mZwqe3J7j/6Gx0wjbq/ydRkI6kOQfYXgdrpGQk=
SHA256 (Pkgfile) = 8d98ca73acce6949044df78c5dfa6681c6f1617a334e0531d903fd4f00def062
SHA256 (.footprint) = db8282b1ddd8f1df2a16b1566ac1fcf665f2af4d3508befaa281117342adf1ac
SHA256 (fd-v8.5.2.tar.gz) = bc66842481d2121f58e7b178b449b5d387078fabcf712355e8db10f9a7af2cd7

View File

@ -4,23 +4,20 @@
# Depends on: rust
name=fd
version=8.4.0
version=8.5.2
release=1
source=(https://github.com/sharkdp/fd/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
cargo fetch
cargo build --release --locked
cargo build --release --manifest-path $name-$version/Cargo.toml
install -Dm755 target/release/fd $PKG/usr/bin/fd
install -Dm644 target/release/build/fd-find-*/out/fd.bash $PKG/usr/share/bash-completion/completions/fd
install -Dm644 target/release/build/fd-find-*/out/fd.fish $PKG/usr/share/fish/vendor_completions.d/fd.fish
install -Dm644 contrib/completion/_fd $PKG/usr/share/zsh/site-functions/_fd
install -Dm644 doc/fd.1 $PKG/usr/share/man/man1/fd.1
install -Dt $PKG/usr/bin $name-$version/target/release/$name
prt-get isinst bash-completions && install -Dm644 $name-$version/target/release/build/fd-find-*/out/fd.bash $PKG/usr/share/bash-completion/completions/fd
prt-get isinst zsh && install -Dm644 $name-$version/contrib/completion/_fd $PKG/usr/share/zsh/site-functions/_fd
install -Dm644 $name-$version/doc/fd.1 $PKG/usr/share/man/man1/fd.1
}