forked from ports/contrib
tre-command: initial commit, version 0.3.3
This commit is contained in:
parent
02c74b3f4b
commit
9422bbce50
3
tre-command/.footprint
Normal file
3
tre-command/.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/tre
|
5
tre-command/.signature
Normal file
5
tre-command/.signature
Normal file
@ -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
|
21
tre-command/Pkgfile
Normal file
21
tre-command/Pkgfile
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user