diff --git a/packages/themes/materials/gtk/graphite-gtk-theme/PKGBUILD b/packages/themes/materials/gtk/graphite-gtk-theme/PKGBUILD index 845687d6f..d84e6d1e2 100644 --- a/packages/themes/materials/gtk/graphite-gtk-theme/PKGBUILD +++ b/packages/themes/materials/gtk/graphite-gtk-theme/PKGBUILD @@ -1,10 +1,10 @@ pkgname=graphite-gtk-theme _pkgname=Graphite-gtk-theme -pkgver=2024.04.28.r2.g3b09e9b +pkgver=2024.07.15.r15.g9a004f9 pkgrel=1 -pkgdesc="Graphite Dark theme." +pkgdesc='Graphite Dark theme.' arch=('any') -license=("GPL3") +license=('GPL3') makedepends=('git' 'gnome-shell' 'sassc') source=("git+https://github.com/vinceliuice/$_pkgname.git") sha512sums=('SKIP') @@ -12,7 +12,12 @@ sha512sums=('SKIP') pkgver() { cd $_pkgname - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + ( set -o pipefail + git describe --long --tags --abbrev=7 2>/dev/null | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short=7 HEAD)" + ) } package() { diff --git a/packages/themes/materials/gtk/gruvbox-gtk-theme/PKGBUILD b/packages/themes/materials/gtk/gruvbox-gtk-theme/PKGBUILD index 27a6d7ef7..8d7bc3e75 100644 --- a/packages/themes/materials/gtk/gruvbox-gtk-theme/PKGBUILD +++ b/packages/themes/materials/gtk/gruvbox-gtk-theme/PKGBUILD @@ -1,10 +1,10 @@ pkgname=gruvbox-gtk-theme _pkgname=Gruvbox-GTK-Theme -pkgver=62.1a0f6672 +pkgver=75.eed3858 pkgrel=1 -pkgdesc="A GTK theme based on the Gruvbox colour palette." +pkgdesc='A GTK theme based on the Gruvbox colour palette.' arch=('any') -license=("GPL3") +license=('GPL3') makedepends=('git') source=("git+https://github.com/Fausto-Korpsvart/$_pkgname.git") sha512sums=('SKIP') @@ -12,7 +12,12 @@ sha512sums=('SKIP') pkgver() { cd $_pkgname - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + ( set -o pipefail + git describe --long --tags --abbrev=7 2>/dev/null | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short=7 HEAD)" + ) } package() { diff --git a/packages/themes/materials/gtk/matrix-gtk-theme/PKGBUILD b/packages/themes/materials/gtk/matrix-gtk-theme/PKGBUILD index 0578ee94e..67316f4da 100644 --- a/packages/themes/materials/gtk/matrix-gtk-theme/PKGBUILD +++ b/packages/themes/materials/gtk/matrix-gtk-theme/PKGBUILD @@ -1,10 +1,10 @@ pkgname=matrix-gtk-theme _pkgname=Matrix-GTK-Theme -pkgver=9.f453093d +pkgver=12.15a799b pkgrel=1 -pkgdesc="A GTK theme based on the Matrix colour palette." +pkgdesc='A GTK theme based on the Matrix colour palette.' arch=('any') -license=("GPL3") +license=('GPL3') makedepends=('git') source=("git+https://github.com/D3vil0p3r/$_pkgname.git") sha512sums=('SKIP') @@ -12,7 +12,12 @@ sha512sums=('SKIP') pkgver() { cd $_pkgname - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + ( set -o pipefail + git describe --long --tags --abbrev=7 2>/dev/null | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short=7 HEAD)" + ) } package() { diff --git a/packages/themes/materials/gtk/nightfox-gtk-theme/PKGBUILD b/packages/themes/materials/gtk/nightfox-gtk-theme/PKGBUILD index 991f02484..9a9eb5776 100644 --- a/packages/themes/materials/gtk/nightfox-gtk-theme/PKGBUILD +++ b/packages/themes/materials/gtk/nightfox-gtk-theme/PKGBUILD @@ -1,10 +1,10 @@ pkgname=nightfox-gtk-theme _pkgname=Nightfox-GTK-Theme -pkgver=27.ef4e6e1f +pkgver=32.14decf0 pkgrel=1 -pkgdesc="A GTK theme based on the Nightfox colour palette." +pkgdesc='A GTK theme based on the Nightfox colour palette.' arch=('any') -license=("AGPL3") +license=('AGPL3') makedepends=('git') source=("git+https://github.com/Fausto-Korpsvart/$_pkgname.git") sha512sums=('SKIP') @@ -12,7 +12,12 @@ sha512sums=('SKIP') pkgver() { cd $_pkgname - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + ( set -o pipefail + git describe --long --tags --abbrev=7 2>/dev/null | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short=7 HEAD)" + ) } package() {