summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-04-20 17:03:33 -0600
committerMark Wagie2021-04-20 17:03:33 -0600
commit40467e5b4defcfb1c4c231f0a46f6be9017e3f4d (patch)
tree49df03b566f349b95a6955d2e8f9b749bcf3619f
parent578702522e887c15f5b6b0ef5223ad8d355c3d00 (diff)
downloadaur-40467e5b4defcfb1c4c231f0a46f6be9017e3f4d.tar.gz
adjust pkgver()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe6ca66d64c..ed886df0cb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gnome-shell-extension-blur-my-shell-git
pkgdesc = Extension that adds a blur look to different parts of the GNOME Shell
- pkgver = r40.042fc5e
+ pkgver = 7.r3.gcb9393c
pkgrel = 1
url = https://github.com/aunetx/blur-my-shell
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 8251fb18551..7d4fa57e8cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=gnome-shell-extension-blur-my-shell-git
_pkgname=blur-my-shell
-pkgver=r40.042fc5e
+pkgver=7.r3.gcb9393c
pkgrel=1
pkgdesc="Extension that adds a blur look to different parts of the GNOME Shell"
arch=('any')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {