diff options
author | j.r | 2021-02-07 22:23:09 +0100 |
---|---|---|
committer | Henri Muitg | 2021-02-20 08:17:48 +0100 |
commit | 7e2c81ab8a12d0beb51757ea69f4273005db1f11 (patch) | |
tree | f77da6acc569ac8e329acce76e6dd4fd690be211 | |
parent | d395ca60bdbd6b1728ae639c9d8708d2b5f0a334 (diff) | |
download | aur-7e2c81ab8a12d0beb51757ea69f4273005db1f11.tar.gz |
Fix version numbering
There are tags in upstream, why not use them?
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Henri van de Munt <(firstname) @ gmail.com> pkgname=gnome-shell-extension-material-shell-git -pkgver=r277.ge789ded -pkgrel=5 +pkgver=12.r5.63c2655 +pkgrel=1 pkgdesc="GNOME Shell Extension Material Shell" arch=('any') url="https://github.com/PapyElGringo/material-shell" @@ -17,7 +17,7 @@ md5sums=('SKIP') pkgver() { cd material-shell - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { |