forked from ports/contrib
sd: initial commit, version 0.7.6
This commit is contained in:
parent
862f54fcea
commit
764af80003
3
sd/.footprint
Normal file
3
sd/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/sd
|
5
sd/.signature
Normal file
5
sd/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37VMmsCZhB+xhc6yortJ5QfyBXE7QUycDSqkl3On6XaTQrEhxWPJGlTTpEUYKEDNxbgK2c1Xi98h0ZCxdzkCkwg=
|
||||
SHA256 (Pkgfile) = 6df488a6fd4389da7c65ae85b3b2408a0f094db1119df8dbbefd8e06ca0a7fee
|
||||
SHA256 (.footprint) = bfdcff903abf0b86c36f8dd366782def033babe22d1b031402b002a13f73292b
|
||||
SHA256 (sd-0.7.6.tar.gz) = faf33a97797b95097c08ebb7c2451ac9835907254d89863b10ab5e0813b5fe5f
|
22
sd/Pkgfile
Normal file
22
sd/Pkgfile
Normal file
@ -0,0 +1,22 @@
|
||||
# Description: s[earch] & d[isplace]
|
||||
# URL: https://github.com/chmln/sd
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=sd
|
||||
version=0.7.6
|
||||
release=1
|
||||
source=(https://github.com/chmln/sd/archive/v$version/$name-$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 update
|
||||
cargo fetch
|
||||
cargo build --release --locked
|
||||
install -Dt $PKG/usr/bin target/release/sd
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user