diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:04:19 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:31:25 +0000 |
commit | 764af80003313871a3190f3cd0d39ab597976b52 (patch) | |
tree | 1ac98d7ac0f8fea54ff4ea4029b2c909021c274f /sd | |
parent | 862f54fcea14dd3449dffcca6d504c357c443f41 (diff) | |
download | contrib-764af80003313871a3190f3cd0d39ab597976b52.tar.gz contrib-764af80003313871a3190f3cd0d39ab597976b52.tar.xz |
sd: initial commit, version 0.7.6
Diffstat (limited to 'sd')
-rw-r--r-- | sd/.footprint | 3 | ||||
-rw-r--r-- | sd/.signature | 5 | ||||
-rw-r--r-- | sd/Pkgfile | 22 |
3 files changed, 30 insertions, 0 deletions
diff --git a/sd/.footprint b/sd/.footprint new file mode 100644 index 000000000..16229d4c0 --- /dev/null +++ b/sd/.footprint @@ -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 diff --git a/sd/.signature b/sd/.signature new file mode 100644 index 000000000..adc41aa3f --- /dev/null +++ b/sd/.signature @@ -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 diff --git a/sd/Pkgfile b/sd/Pkgfile new file mode 100644 index 000000000..29e1bdd45 --- /dev/null +++ b/sd/Pkgfile @@ -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 +} |