summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-12-02 22:35:37 -0700
committerMark Wagie2020-12-02 22:35:37 -0700
commit1426f27e2b8323b20f5e10a3b8bd5a61efd664ed (patch)
tree4d401958795e8d4ca8e4707d2146fdb4f8e5bfb4
parenteff11e97b3951facbf2619998a3fc5d7b087cd84 (diff)
downloadaur-1426f27e2b8323b20f5e10a3b8bd5a61efd664ed.tar.gz
use tags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ddd3cdd836f..ce7382279eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = whitesur-gtk-theme-git
pkgdesc = MacOS Big Sur like theme for GNOME desktops
- pkgver = r47.d923a27
+ pkgver = 2020.12.03.r1.g421ba50
pkgrel = 1
url = https://github.com/vinceliuice/WhiteSur-gtk-theme
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 25185f04166..3609f348881 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=whitesur-gtk-theme-git
-pkgver=r47.d923a27
+pkgver=2020.12.03.r1.g421ba50
pkgrel=1
pkgdesc="MacOS Big Sur like theme for GNOME desktops"
arch=('any')
@@ -19,7 +19,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {