1
0
forked from ports/contrib

dust: 0.6.2 -> 0.7.0

This commit is contained in:
Tim Biermann 2021-09-19 13:41:06 +02:00
parent 6af1facf70
commit f9be4a78ca
2 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yOp5N3UOzfmHI9J1RzJau+cX68fnajamCETYziiZPdlvP25e046dA7S4hi9eXFDnnqW8yLHfLCDQmhL8it/nA0=
SHA256 (Pkgfile) = f99fa7ba384189617bbc6d730bdd8edbb392ba845831c9586941805239694f63
RWSagIOpLGJF3xaeyAuTGdkv468LtMkYcVOPqLHssOC/KElhF2W+3n00K8Q0lIQYopVkHtF3wZCZIu5VSAi8GAqP1gnoSXgx9QM=
SHA256 (Pkgfile) = edf17d493f487e4bf19d099c13ac2f337e66d485ddf2da24ac2964c1076894f3
SHA256 (.footprint) = ebf861127b1397a35de9c1899cd2465dc242f8cfe10cd2522a9b91d8f1d6bfef
SHA256 (dust-0.6.2.tar.gz) = 4ab5d8200368fb6ecf185a1c896f51fb96f94e3ef853d258b128b8303c252300
SHA256 (dust-0.7.0.tar.gz) = 9dc0608c3200172b05c8d628cf715fbe16505da1921a6c0f52b5e08dc0daf6a8

View File

@ -4,18 +4,16 @@
# Depends on: rust
name=dust
version=0.6.2
version=0.7.0
release=1
source=(https://github.com/bootandy/dust/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/dust
cargo update --manifest-path $name-$version/Cargo.toml
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}