diff options
author | Eric Engestrom | 2020-11-08 14:42:05 +0100 |
---|---|---|
committer | Eric Engestrom | 2020-11-08 14:42:05 +0100 |
commit | a8eb11beb0925ba7186338e87bdab1037c972d3a (patch) | |
tree | c07f66ce89d721ecd3d0a4d12a0a504cb78a8a50 | |
parent | 7a54f865bb957cfc576e99fc918bbc8ed2686cb5 (diff) | |
download | aur-a8eb11beb0925ba7186338e87bdab1037c972d3a.tar.gz |
fix pkgver() to handle extra `-beta`
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = hw-probe-git pkgdesc = Tool to probe for hardware, check its operability and upload result to the Linux hardware DB: http://linux-hardware.org - pkgver = 1.4+11.g6a1eb65d20 + pkgver = 1.6beta+27.gacf2cf2c0f pkgrel = 1 url = https://github.com/linuxhw/hw-probe arch = any @@ -16,7 +16,7 @@ pkgbase = hw-probe-git optdepends = smartmontools optdepends = inxi optdepends = pnputils - provides = hw-probe=1.4 + provides = hw-probe=1.6beta conflicts = hw-probe source = https://github.com/linuxhw/hw-probe md5sums = SKIP @@ -1,7 +1,7 @@ # Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch> pkgname=hw-probe-git -pkgver=1.4+11.g6a1eb65d20 +pkgver=1.6beta+27.gacf2cf2c0f pkgrel=1 pkgdesc="Tool to probe for hardware, check its operability and upload result to the Linux hardware DB: http://linux-hardware.org" arch=('any') @@ -16,7 +16,7 @@ provides=("hw-probe=${pkgver%+*}") pkgver() { cd "$srcdir/hw-probe" - git describe --long --abbrev=10 | sed 's/-/+/; s/-/./' + git describe --long --abbrev=10 | sed 's/-beta/beta/; s/-/+/; s/-/./' } package() { |