diff options
author | MartinVonReich | 2023-12-15 17:22:04 +0100 |
---|---|---|
committer | MartinVonReich | 2023-12-15 17:22:04 +0100 |
commit | aee37a4e2f08ff8bfdcbe4b8e411ee15a35bc5ba (patch) | |
tree | 8512d42e28a084bf2509261464b3c74cbb60df8d | |
parent | c0fe1b07d6748e4f5821cd83748d4341b82b372f (diff) | |
download | aur-aee37a4e2f08ff8bfdcbe4b8e411ee15a35bc5ba.tar.gz |
Returnal of the latest GIT Tag + GIT Version in `PKGBUILD `koi-git`` package . . .
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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)" ) |