summaryrefslogtreecommitdiff
path: root/ruget
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-15 20:07:06 +0000
committerTim Biermann <tbier@posteo.de>2021-06-15 20:10:06 +0000
commitc790fd631cd0b9aae8bb7b9eefa3bef757daac19 (patch)
tree0599d95133c950237cd2f9c0e479c90c289b2471 /ruget
parent55b75fa83997b7a158d719d7dca8860ef6f2f855 (diff)
downloadcontrib-c790fd631cd0b9aae8bb7b9eefa3bef757daac19.tar.gz
contrib-c790fd631cd0b9aae8bb7b9eefa3bef757daac19.tar.xz
ruget: added a real url and tied up build
Diffstat (limited to 'ruget')
-rw-r--r--ruget/.signature4
-rw-r--r--ruget/Pkgfile12
2 files changed, 7 insertions, 9 deletions
diff --git a/ruget/.signature b/ruget/.signature
index e40d5a796..698275d83 100644
--- a/ruget/.signature
+++ b/ruget/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF30pWAKaZO8rxg36ny0MiHxJKoItNhgeBGNBw5pc/IxNPARLiJPXX3Ve04oXCxBjZBR2fEUjnfl+6uonEhq4x9Ac=
-SHA256 (Pkgfile) = 391a8cab31cb9c62bd701b1e8124f7b2da23db8c6a6c48849919fd9e4c7e631d
+RWSagIOpLGJF3+dpnQxcpSECUo9pJubR2y78YFxL+SgmCGhzeGVUDtwiXyJr9T3ZCWP01OJ8lHg2hxq5FgKK/f+sTNBOKcYe0Qw=
+SHA256 (Pkgfile) = ee6b39f4846a4966f6228fe4ebc80667137a8ee17e502941fddc7b0900b3b643
SHA256 (.footprint) = f90e27b3747235b22dd5c68d6fe3a70f2f49b7a18492b235e1bdaec4d3fa839c
SHA256 (ruget-0.4.3.tar.gz) = a4c06af4442105df1cbcb6a279b439d7abee4ecc5f29804c00f99191198f9900
diff --git a/ruget/Pkgfile b/ruget/Pkgfile
index 4e8ef5b32..64e6c6006 100644
--- a/ruget/Pkgfile
+++ b/ruget/Pkgfile
@@ -1,5 +1,5 @@
# 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
# Depends on: rust
@@ -9,14 +9,12 @@ release=1
source=(https://github.com/ksk001100/ruget/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/ruget
+ cargo update --manifest-path $name-$version/Cargo.toml
+ cargo build --manifest-path $name-$version/Cargo.toml --release
+
+ install -Dt $PKG/usr/bin $name-$version/target/release/$name
}

Generated by cgit