summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2017-09-09 08:38:44 -0400
committerTed Alff2017-09-09 08:38:44 -0400
commit045b89dd21b9c9dd6e3cc61cbe6c2f127a114ad7 (patch)
tree72a21345d4fb5c714ed08113ce757ed3b80981de
parentaffcaf5cd6748b4ea9d6c590b48508b44c3920f8 (diff)
downloadaur-045b89dd21b9c9dd6e3cc61cbe6c2f127a114ad7.tar.gz
Change version format
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4216b8216466..27cc3637e546 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Sep 9 12:36:10 UTC 2017
+# Sat Sep 9 12:38:34 UTC 2017
pkgbase = xfce4-pulseaudio-plugin-git
pkgdesc = Pulseaudio plugin for Xfce4 panel
- pkgver = 0.3.0+2+gdea2be9
+ pkgver = 0.3.0.r2.gdea2be9
pkgrel = 1
url = https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin
arch = i686
@@ -18,7 +18,7 @@ pkgbase = xfce4-pulseaudio-plugin-git
depends = libkeybinder3
depends = libnotify
optdepends = pavucontrol: default pulseaudio mixer
- provides = xfce4-pulseaudio-plugin=0.3.0+2+gdea2be9
+ provides = xfce4-pulseaudio-plugin=0.3.0
conflicts = xfce4-pulseaudio-plugin
source = git://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index de1fe4929d79..d45ce8132e94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=xfce4-pulseaudio-plugin
pkgname=${_pkgname}-git
-pkgver=0.3.0+2+gdea2be9
+pkgver=0.3.0.r2.gdea2be9
pkgrel=1
pkgdesc="Pulseaudio plugin for Xfce4 panel"
arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
- git describe --tags | sed "s/^${_pkgname}-//;s/-/+/g"
+ git describe --long --tags | sed -r "s:^${_pkgname}.::;s/^v//;s/([^-]*-g)/r\1/;s/-/./g"
}
prepare() {