summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2024-08-05 12:29:13 -0600
committerMark Wagie2024-08-05 12:29:13 -0600
commit6b8575481a06c02405fde352a05a42daef128b76 (patch)
treeb0d1fc8b09a7c9aff88c3f712c552ab828f3a5ff
parent9f242536f0e5bfd6b5c629d50d5fe28abfb48770 (diff)
downloadaur-6b8575481a06c02405fde352a05a42daef128b76.tar.gz
rebase pkgver based on tags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fc4212ccebf..2ead176bf2f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cosmic-icons-git
pkgdesc = System76 Cosmic icon theme
- pkgver = r14.ee87327
+ pkgver = 1.0.0.alpha.1.r0.gf93dcdf
pkgrel = 1
url = https://github.com/pop-os/cosmic-icons
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d390e11a203e..376f9ac43d7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=cosmic-icons-git
-pkgver=r14.ee87327
+pkgver=1.0.0.alpha.1.r0.gf93dcdf
pkgrel=1
pkgdesc="System76 Cosmic icon theme"
arch=('any')
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags --abbrev=7 | sed 's/^epoch-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {