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 d3e64d5a852..9c3be5265b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = snow-theme-git
pkgdesc = Light Gtk theme with some gradients
- pkgver = 17.ad35149
+ pkgver = r17.ad35149
pkgrel = 2
url = https://github.com/EliverLara/snow
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 5f28d4fa3be..14cfa56738d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=snow-theme-git
_pkgname=snow
-pkgver=17.ad35149
+pkgver=r17.ad35149
pkgrel=2
pkgdesc="Light Gtk theme with some gradients"
arch=("any")
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {