19 lines
552 B
Plaintext
19 lines
552 B
Plaintext
# Description: Ping, but with a graph
|
|
# URL: https://github.com/orf/gping
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: rust
|
|
|
|
name=gping
|
|
version=1.17.3
|
|
release=1
|
|
source=(https://github.com/orf/gping/archive/refs/tags/$name-v$version.tar.gz)
|
|
|
|
build() {
|
|
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
|
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
|
|
|
cargo build --release --manifest-path $name-$name-v$version/Cargo.toml
|
|
|
|
install -Dt $PKG/usr/bin $name-$name-v$version/target/release/$name
|
|
}
|