summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2015-07-07 21:18:37 +0200
committerFrederik “Freso” S. Olesen2015-07-07 21:18:37 +0200
commit79599f2265dd56b0cffe6dd2f237c97aceba10cf (patch)
tree24f549bcf1e018778ae6183f66f9f6138f0d274e
parentbcd7aff8f1ba2236be219984a713e34c2bb044cb (diff)
downloadaur-mopidy-notifier-git.tar.gz
mopidy-notifier-git: Upstream now has proper Git tags.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e52962f836da..5b1c329b0422 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mopidy-notifier-git
pkgdesc = Mopidy extension for showing song changes in notifications.
- pkgver = 0.r45.df9032f
+ pkgver = 0.3.2
pkgrel = 1
url = https://github.com/sauberfred/mopidy-notifier
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d3a15cfebd9c..d96b9d83555e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=mopidy-notifier
pkgname=${_pkgname}-git
-pkgver=0.r45.df9032f
+pkgver=0.3.2
pkgrel=1
pkgdesc='Mopidy extension for showing song changes in notifications.'
arch=('any')
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {