diff options
author | j.r | 2022-07-14 23:36:38 +0200 |
---|---|---|
committer | j.r | 2022-07-14 23:36:38 +0200 |
commit | 94dd319fdc263c171659710a32753a868a18c316 (patch) | |
tree | 0bfac4a1cd6534bd119d758d5e7b9c6fc7d141fa | |
parent | 1106abe2ba60bf20d7f16e1eb0874fbbc4a8715f (diff) | |
download | aur-94dd319fdc263c171659710a32753a868a18c316.tar.gz |
Switch to versioning without tags
Upstream started to use alphanumeric tags, which are not suitable for
versioning.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,8 @@ pkgbase = gnome-shell-extension-material-shell-git pkgdesc = GNOME Shell Extension Material Shell - pkgver = 12.r21.2985acf + pkgver = r931.8e6c6e3 pkgrel = 1 + epoch = 1 url = https://github.com/PapyElGringo/material-shell arch = any groups = gnome-shell-extensions @@ -16,4 +17,3 @@ pkgbase = gnome-shell-extension-material-shell-git md5sums = SKIP pkgname = gnome-shell-extension-material-shell-git - @@ -1,8 +1,9 @@ # Maintainer: Henri van de Munt <(firstname) @ gmail.com> # Contributor: j.r <j.r@jugendhacker.de> pkgname=gnome-shell-extension-material-shell-git -pkgver=12.r21.2985acf +pkgver=r931.8e6c6e3 pkgrel=1 +epoch=1 pkgdesc="GNOME Shell Extension Material Shell" arch=('any') url="https://github.com/PapyElGringo/material-shell" @@ -18,7 +19,7 @@ md5sums=('SKIP') pkgver() { cd material-shell - printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |