forked from ports/contrib
ruget: added a real url and tied up build
This commit is contained in:
parent
55b75fa839
commit
c790fd631c
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF30pWAKaZO8rxg36ny0MiHxJKoItNhgeBGNBw5pc/IxNPARLiJPXX3Ve04oXCxBjZBR2fEUjnfl+6uonEhq4x9Ac=
|
RWSagIOpLGJF3+dpnQxcpSECUo9pJubR2y78YFxL+SgmCGhzeGVUDtwiXyJr9T3ZCWP01OJ8lHg2hxq5FgKK/f+sTNBOKcYe0Qw=
|
||||||
SHA256 (Pkgfile) = 391a8cab31cb9c62bd701b1e8124f7b2da23db8c6a6c48849919fd9e4c7e631d
|
SHA256 (Pkgfile) = ee6b39f4846a4966f6228fe4ebc80667137a8ee17e502941fddc7b0900b3b643
|
||||||
SHA256 (.footprint) = f90e27b3747235b22dd5c68d6fe3a70f2f49b7a18492b235e1bdaec4d3fa839c
|
SHA256 (.footprint) = f90e27b3747235b22dd5c68d6fe3a70f2f49b7a18492b235e1bdaec4d3fa839c
|
||||||
SHA256 (ruget-0.4.3.tar.gz) = a4c06af4442105df1cbcb6a279b439d7abee4ecc5f29804c00f99191198f9900
|
SHA256 (ruget-0.4.3.tar.gz) = a4c06af4442105df1cbcb6a279b439d7abee4ecc5f29804c00f99191198f9900
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Description: Alternative to wget written in Rust
|
# Description: Alternative to wget written in Rust
|
||||||
# URL: Alternative to wget written in Rust
|
# URL: https://github.com/ksk001100/ruget
|
||||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||||
# Depends on: rust
|
# Depends on: rust
|
||||||
|
|
||||||
@ -9,14 +9,12 @@ release=1
|
|||||||
source=(https://github.com/ksk001100/ruget/archive/v$version/$name-$version.tar.gz)
|
source=(https://github.com/ksk001100/ruget/archive/v$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
|
||||||
|
|
||||||
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
|
mkdir "$PKGMK_SOURCE_DIR/rust" || true
|
||||||
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
|
||||||
|
|
||||||
cargo update
|
cargo update --manifest-path $name-$version/Cargo.toml
|
||||||
cargo fetch
|
cargo build --manifest-path $name-$version/Cargo.toml --release
|
||||||
cargo build --release --locked
|
|
||||||
install -Dt $PKG/usr/bin target/release/ruget
|
install -Dt $PKG/usr/bin $name-$version/target/release/$name
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user