summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2019-08-10 21:56:27 +0200
committerSebastian 'Swift Geek' Grzywna2019-08-10 21:57:36 +0200
commit68ab66ed0d1c8eeeb97890f56ff220e797b04dbd (patch)
tree471fc5b0f37e1a46d7172a43f659d773c443e56f
parentf1096d105a6207296e58f50fd1dcd4804be468ac (diff)
downloadaur-ncpamixer-git.tar.gz
Fix pkgver
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 805eb7a1ae32..a7890627b1ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ncpamixer-git
_pkgname=ncpamixer
pkgver=a
-pkgrel=3
+pkgrel=4
pkgdesc="ncurses PulseAudio Mixer"
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
url="https://github.com/fulhax/ncpamixer"
@@ -14,7 +14,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- git rev-parse --short HEAD # Fix to better comply with github display
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {