forked from ports/contrib
tre: renamed to tre-command to avoid name conflicts with another project
This commit is contained in:
parent
25f0a6a295
commit
02c74b3f4b
@ -1,3 +0,0 @@
|
|||||||
drwxr-xr-x root/root usr/
|
|
||||||
drwxr-xr-x root/root usr/bin/
|
|
||||||
-rwxr-xr-x root/root usr/bin/tre
|
|
@ -1,5 +0,0 @@
|
|||||||
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/Pkgfile
21
tre/Pkgfile
@ -1,21 +0,0 @@
|
|||||||
# 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