Package Details: gping-git 1.2.3.r4.ga95a678-1

Git Clone URL: (read-only, click to copy)
Package Base: gping-git
Description: Ping, but with a graph
Upstream URL:
Licenses: MIT
Conflicts: gping
Provides: gping
Submitter: yodaembedding
Maintainer: yodaembedding
Last Packager: yodaembedding
Votes: 2
Popularity: 0.000249
First Submitted: 2020-11-13 22:33 (UTC)
Last Updated: 2021-08-06 10:48 (UTC)

Latest Comments

MithicSpirit commented on 2021-07-20 14:18 (UTC)

Because upstream has changed their versioning scheme, pkgver() now returns gping.v1.2.3.r2.g5960439, which is interpreted as a downgrade from 0.1.6.r9.g3179477, which is what the PKGBUILD reports as the version. This causes issues with AUR helpers which can check for updates as they think that the version that is built is always older than the version available from the AUR. It would be nice if the pkgver was updated to the current value, or, better yet, was updated to a generic value like latest, or maybe even set to 0, as suggested in the forums.

orhun commented on 2020-11-14 14:05 (UTC) (edited on 2020-12-12 09:47 (UTC) by orhun)

A few issues about PKGBUILD:

  • You have to trim v from the version. Update sed as following:
pkgver() {
    cd "$pkgname"
    git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  • Specify iputils package in depends. (provides ping which is necessary for gping to work)
  • --locked flag must be specified in cargo build for package reproducibility.
  • LICENSE is present in the upstream. Please install it.


# Maintainer: Mateen Ulhaq <mulhaq2005+aur at gmail dot com>

pkgdesc="Ping, but with a graph"
makedepends=("cargo" "git")

pkgver() {
    cd "$pkgname"
    git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

build() {
    cd "$pkgname"
    cargo build --release --locked

package() {
    cd "$pkgname"
    install -Dm755 "target/release/${pkgname%-git}" -t "$pkgdir/usr/bin"
    install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/gping"
    install -Dm644 "" -t "$pkgdir/usr/share/doc/gping"

xiretza commented on 2020-11-14 10:04 (UTC)

FYI, a LICENSE file is available now: