summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Phillips2016-03-14 17:21:57 +1300
committerDavid Phillips2016-03-14 17:22:51 +1300
commit7469cf7886fe2b2e085bd3f542aad54dce49e374 (patch)
tree9a57c7cc5ce7d59f2b8618a376b85be8dd81a24e /PKGBUILD
parent79864324a54dbe3619fa32866ea9280509a88685 (diff)
downloadaur-7469cf7886fe2b2e085bd3f542aad54dce49e374.tar.gz
Updated pkgver to use tags now that upstream has tags
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efad89967c27..03c9f5bc5ba6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_theme=petrichor
_pkgname=lightdm-webkit-theme-${_theme}
pkgname=${_pkgname}-git
-pkgver=r14.b4607e0
+pkgver=1.0.r0.gd6bb5c0
pkgrel=1
pkgdesc="Simple and tidy theme for LightDM's webkit2 greeter"
arch=('any')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package () {