diff options
author | Mateen Ulhaq | 2020-11-14 16:51:35 -0800 |
---|---|---|
committer | Mateen Ulhaq | 2020-11-14 16:51:35 -0800 |
commit | 5116737e7ffddb95a2c3840b58bb1a60ff1fc42d (patch) | |
tree | 114491c0866f9c6d55006a408051efc0fb2342e3 | |
parent | fc72e77e551aa4341dc674a919192ca91bf973b9 (diff) | |
download | aur-5116737e7ffddb95a2c3840b58bb1a60ff1fc42d.tar.gz |
install license, tweak depends, cargo build --locked
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 12 insertions, 12 deletions
@@ -1,13 +1,13 @@ pkgbase = gping-git pkgdesc = Ping, but with a graph - pkgver = v0.1.5.r1.g7e8b360 + pkgver = 0.1.6.r9.g3179477 pkgrel = 1 url = https://github.com/orf/gping arch = x86_64 license = MIT makedepends = cargo makedepends = git - depends = gcc-libs + depends = iputils provides = gping conflicts = gping source = gping-git::git+https://github.com/orf/gping @@ -1,32 +1,32 @@ # Maintainer: Mateen Ulhaq <mulhaq2005+aur at gmail dot com> pkgname=gping-git -pkgver=v0.1.5.r1.g7e8b360 +pkgver=0.1.6.r9.g3179477 pkgrel=1 pkgdesc="Ping, but with a graph" arch=("x86_64") url="https://github.com/orf/gping" license=("MIT") -depends=("gcc-libs") +depends=("iputils") makedepends=("cargo" "git") -provides=("gping") -conflicts=("gping") -source=("$pkgname::git+https://github.com/orf/gping") +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url") sha256sums=("SKIP") pkgver() { cd "$pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$pkgname" - cargo build --release + cargo build --release --locked } package() { cd "$pkgname" - install -Dm755 "target/release/gping" "$pkgdir/usr/bin/gping" - # install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/gping/LICENSE" - install -Dm644 "readme.md" "$pkgdir/usr/share/doc/gping/README.md" + install -Dm755 "target/release/${pkgname%-git}" -t "$pkgdir/usr/bin" + install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/${pkgname%-git}" + install -Dm644 "readme.md" -t "$pkgdir/usr/share/doc/${pkgname%-git}" } |