diff options
author | Tim Biermann <tbier@posteo.de> | 2021-01-26 11:02:36 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-01-26 11:02:36 +0000 |
commit | 9422bbce50f4a74f71e1bce6ee184438aeda40f1 (patch) | |
tree | 7e644a5f47c2f5f33599dea804b27a77d3c68112 /tre-command | |
parent | 02c74b3f4bfe76f53a49151b776aa01fede1af3d (diff) | |
download | contrib-9422bbce50f4a74f71e1bce6ee184438aeda40f1.tar.gz contrib-9422bbce50f4a74f71e1bce6ee184438aeda40f1.tar.xz |
tre-command: initial commit, version 0.3.3
Diffstat (limited to 'tre-command')
-rw-r--r-- | tre-command/.footprint | 3 | ||||
-rw-r--r-- | tre-command/.signature | 5 | ||||
-rw-r--r-- | tre-command/Pkgfile | 21 |
3 files changed, 29 insertions, 0 deletions
diff --git a/tre-command/.footprint b/tre-command/.footprint new file mode 100644 index 000000000..e07d39a45 --- /dev/null +++ b/tre-command/.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/tre diff --git a/tre-command/.signature b/tre-command/.signature new file mode 100644 index 000000000..409c94d5a --- /dev/null +++ b/tre-command/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3xG/zk5GkbMUtzwliM8qqSciIGYHBI8y6vxyDgFcD5zNEQio1ocDrEOcWZh7RrGlBowEmHP98HQ2yq02bgemVA0= +SHA256 (Pkgfile) = 11ef2c491d2744658a9e10778ddc414118dedfd40035aa064bdb1f3c8fd2605b +SHA256 (.footprint) = 50c2d8d318f6bd8993b5018f524785d8ec6ebce93ba007021ad84647d08b71da +SHA256 (tre-0.3.3.tar.gz) = 321a673e55397e80a0229537399f2c762a7d5196e3a486a684ea3c481e1d7bec diff --git a/tre-command/Pkgfile b/tre-command/Pkgfile new file mode 100644 index 000000000..7624d2eba --- /dev/null +++ b/tre-command/Pkgfile @@ -0,0 +1,21 @@ +# Description: tree command, improved +# URL: https://github.com/dduan/tre +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=tre +version=0.3.3 +release=1 +source=(https://github.com/dduan/tre/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/tre +} |