blob: b3daebf71e748da621b2fcf62dbcdbd99c8ed38e (
plain)
1 # Description: tree command, improved
2 # URL: https://github.com/dduan/tre
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: rust
5
6 name=tre-command
7 version=0.4.0
8 release=1
9 source=(https://github.com/dduan/tre/archive/v$version/tre-$version.tar.gz)
10
11 build() {
12 prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
13 mkdir "$PKGMK_SOURCE_DIR/rust" || true
14 export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
15
16 cargo build --release --manifest-path tre-$version/Cargo.toml
17 install -Dt $PKG/usr/bin tre-$version/target/release/tre
18 }
|