diff options
author | Mark Wagie | 2021-04-20 17:03:33 -0600 |
---|---|---|
committer | Mark Wagie | 2021-04-20 17:03:33 -0600 |
commit | 40467e5b4defcfb1c4c231f0a46f6be9017e3f4d (patch) | |
tree | 49df03b566f349b95a6955d2e8f9b749bcf3619f | |
parent | 578702522e887c15f5b6b0ef5223ad8d355c3d00 (diff) | |
download | aur-40467e5b4defcfb1c4c231f0a46f6be9017e3f4d.tar.gz |
adjust pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |