forked from ports/contrib
rip: do not manually update crates
This commit is contained in:
parent
7d97d4c394
commit
486a20b41d
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF39zkDJc9l+lwP+wFauup5Ru+hApKaO3kAL55JCgMJmPg1kI2SbwFXbi9tfZFULtSQK2CM4/9LD7UfmWcyqEOTAA=
|
RWSagIOpLGJF35fiyZ15BmJcF0e6fvVENIP16ayYzt6hGIAP8W/GjMSYT24K9dW2GP7AvvzYWctzpe05KHMENoza6gQRlFqTkQE=
|
||||||
SHA256 (Pkgfile) = 46aa219b64c6ccd8ff94c10b924e925f60361838028a6e1a4400ab0b45e0f9bd
|
SHA256 (Pkgfile) = b345bd2c4ed2e0da51c72a1c5deb15b8f4a7d6d1ad8e68630d51a20ed456e0b2
|
||||||
SHA256 (.footprint) = 93ce8c657781e3da03461068dd2ea039f4c2a542a148c3576ac07a2f76e10834
|
SHA256 (.footprint) = 93ce8c657781e3da03461068dd2ea039f4c2a542a148c3576ac07a2f76e10834
|
||||||
SHA256 (rip-0.13.1.tar.gz) = 73acdc72386242dced117afae43429b6870aa176e8cc81e11350e0aaa95e6421
|
SHA256 (rip-0.13.1.tar.gz) = 73acdc72386242dced117afae43429b6870aa176e8cc81e11350e0aaa95e6421
|
||||||
|
@ -5,16 +5,14 @@
|
|||||||
|
|
||||||
name=rip
|
name=rip
|
||||||
version=0.13.1
|
version=0.13.1
|
||||||
release=1
|
release=2
|
||||||
source=(https://github.com/nivekuil/rip/archive/$version/$name-$version.tar.gz)
|
source=(https://github.com/nivekuil/rip/archive/$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||||
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
|
||||||
|
|
||||||
cargo update --manifest-path $name-$version/Cargo.toml
|
cargo build --release --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
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user