summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartinVonReich2023-12-15 17:22:04 +0100
committerMartinVonReich2023-12-15 17:22:04 +0100
commitaee37a4e2f08ff8bfdcbe4b8e411ee15a35bc5ba (patch)
tree8512d42e28a084bf2509261464b3c74cbb60df8d
parentc0fe1b07d6748e4f5821cd83748d4341b82b372f (diff)
downloadaur-aee37a4e2f08ff8bfdcbe4b8e411ee15a35bc5ba.tar.gz
Returnal of the latest GIT Tag + GIT Version in `PKGBUILD `koi-git`` package . . .
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0d69a5d2bab..c487f17b7f6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = koi-git
pkgdesc = Scheduled LIGHT/DARK Theme Switching for the KDE Plasma Desktop
- pkgver = r163.eae87d1
+ pkgver = 0.2.4.r0.geae87d1
pkgrel = 1
url = https://github.com/baduhai/Koi
arch = x86_64
@@ -27,7 +27,7 @@ pkgbase = koi-git
optdepends = xsettingsd: Apply settings to GTK applications on the fly
conflicts = koi
options = !strip
- source = Koi-r163.eae87d1::git+https://github.com/baduhai/Koi.git
+ source = Koi-0.2.4.r0.geae87d1::git+https://github.com/baduhai/Koi.git
sha256sums = SKIP
pkgname = koi-git
diff --git a/PKGBUILD b/PKGBUILD
index 8f7580ef8db9..71ff9052e598 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname='koi-git'
_pkgname='koi'
__pkgname='Koi'
-pkgver=r163.eae87d1
+pkgver=0.2.4.r0.geae87d1
pkgrel=1
pkgdesc="Scheduled LIGHT/DARK Theme Switching for the KDE Plasma Desktop"
arch=('x86_64' 'aarch64')
@@ -24,7 +24,7 @@ options=('!strip')
pkgver() {
cd "${srcdir}/${__pkgname}-${pkgver}"
( set -o pipefail
- git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' ||
+ git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)