# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=gping pkgver=1.2.6 pkgrel=0 pkgdesc="Ping, but with a graph" url="https://github.com/orf/gping" license="MIT" arch="all !s390x !mips64 !riscv64" # blocked by rust/cargo makedepends="cargo" source="https://github.com/orf/gping/archive/gping-v$pkgver/gping-$pkgver.tar.gz" builddir="$srcdir/gping-gping-v$pkgver" build() { cargo build --release --locked } check() { cargo test --release --locked } package() { install -Dm755 target/release/gping "$pkgdir"/usr/bin/gping } sha512sums=" 29c2c6685efe848ccf1396dd2bd729e54d63b500d3ef32ad9c3b4409538dbc95f739d093b0c3b4d2650eddbba62134383849dc4dae0454fd42d3d2010f93dd1e gping-1.2.6.tar.gz "