fd: 8.6.0 -> 8.7.0; adopted port
This commit is contained in:
parent
7229bd290b
commit
36dc6f552c
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zAgQ7XypAcX+iGriotDv8EuRNQlsdaMbcliMAydFx1yM3TKK/pptWCOG673L4KoEIo/3mHJfUVREDZStsvtgAY=
|
||||
SHA256 (Pkgfile) = dd7cda4b94ebc74d97b4847b46cbedd65418124062a6a932d921c8f305042314
|
||||
RWSagIOpLGJF35v8MeJfSmRY2RIpIibKHLfyxNQeYAZGlLyvlZZrWnhHYDlvfsjtcAr0zKDOgsIcpBmVEuGSMhdJfi8jvbs9yQI=
|
||||
SHA256 (Pkgfile) = 088bd3aa01a38b4597cefc2e6507262aa215b136bf4fa3a84584d00c42fda736
|
||||
SHA256 (.footprint) = db8282b1ddd8f1df2a16b1566ac1fcf665f2af4d3508befaa281117342adf1ac
|
||||
SHA256 (fd-v8.6.0.tar.gz) = e71a139f9ca20f63bab3700d5f8810bc12ef2c4fc6e1dd680f5c96fa9d1d2834
|
||||
SHA256 (fd-v8.7.0.tar.gz) = 13da15f3197d58a54768aaad0099c80ad2e9756dd1b0c7df68c413ad2d5238c9
|
||||
|
19
fd/Pkgfile
19
fd/Pkgfile
@ -1,23 +1,22 @@
|
||||
# Description: Simple, fast and user-friendly alternative to find
|
||||
# URL: https://github.com/sharkdp/fd
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=fd
|
||||
version=8.6.0
|
||||
version=8.7.0
|
||||
release=1
|
||||
source=(https://github.com/sharkdp/fd/archive/v$version/$name-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||
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
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user