summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCrewmate2021-05-03 17:09:12 -0700
committerCrewmate2021-05-03 17:09:12 -0700
commitd4c8e02d6761eac925f9338a73b67f2cb61b546c (patch)
treed6db92b9a8012642ba307a31d9571ab57d0bc819 /PKGBUILD
parente63e537842fe763c8811a329cf2ce0c4e089a0c7 (diff)
downloadaur-materia-transparent-gtk-theme-git.tar.gz
proper versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3603e151781..d1007b1bc55 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,11 @@
# Maintainer Crewmate <sus@morshu.xyz>
_pkgname=materia-theme-transparent
pkgname=materia-transparent-gtk-theme-git
-pkgver=85bdc295
-pkgrel=4
+pkgver=r1648.85bdc295
+pkgrel=1
+epoch=1
pkgdesc="A Transparent Material Design theme for GNOME/GTK+ based desktop environments"
+url="https://github.com/ckissane/materia-theme-transparent"
arch=(any)
license=(GPLV2)
depends=(gnome-themes-extra)
@@ -23,7 +25,7 @@ sha256sums=(
pkgver() {
cd "$srcdir/${_pkgname}"
- git rev-parse --short HEAD
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {