summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95f9d4202017..19cf9fc6c0ba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = budgie-screensaver-git
pkgdesc = Budgie's fork of GNOME's legacy screensaver - latest git
- pkgver = v5.0.2.r1.g57dfb33
+ pkgver = 5.0.2.r1.g57dfb33
pkgrel = 1
url = https://github.com/BuddiesOfBudgie/budgie-screensaver
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 901e4dfc5736..61b42d52bbce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Campbell Jones <dev at serebit dot com>
pkgname=budgie-screensaver-git
-pkgver=v5.0.2.r1.g57dfb33
+pkgver=5.0.2.r1.g57dfb33
pkgrel=1
pkgdesc="Budgie's fork of GNOME's legacy screensaver - latest git"
arch=('x86_64')
@@ -17,7 +17,7 @@ md5sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --tags --long | sed 's/\([^-]*-g\)/r\1/; s/-/./g; s/^v//g'
}
build() {