rip: -> 0.13.1
This commit is contained in:
parent
f1d972fec8
commit
eae2445869
3
rip/.footprint
Normal file
3
rip/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/rip
|
5
rip/.signature
Normal file
5
rip/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39zkDJc9l+lwP+wFauup5Ru+hApKaO3kAL55JCgMJmPg1kI2SbwFXbi9tfZFULtSQK2CM4/9LD7UfmWcyqEOTAA=
|
||||
SHA256 (Pkgfile) = 46aa219b64c6ccd8ff94c10b924e925f60361838028a6e1a4400ab0b45e0f9bd
|
||||
SHA256 (.footprint) = 93ce8c657781e3da03461068dd2ea039f4c2a542a148c3576ac07a2f76e10834
|
||||
SHA256 (rip-0.13.1.tar.gz) = 73acdc72386242dced117afae43429b6870aa176e8cc81e11350e0aaa95e6421
|
20
rip/Pkgfile
Normal file
20
rip/Pkgfile
Normal file
@ -0,0 +1,20 @@
|
||||
# Description: A safe and ergonomic alternative to rm
|
||||
# URL: https://github.com/nivekuil/rip
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: rust
|
||||
|
||||
name=rip
|
||||
version=0.13.1
|
||||
release=1
|
||||
source=(https://github.com/nivekuil/rip/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
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 --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
|
||||
}
|
Loading…
Reference in New Issue
Block a user