From 0fb0dbc453160e6306eba5d7286193fb69d7669b Mon Sep 17 00:00:00 2001 From: Anas Mazouni Date: Sat, 27 Sep 2025 20:03:40 +0200 Subject: [PATCH] chore: update pkgver format in .SRCINFO and PKGBUILD --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 664a0cfa287c..cb515b5377d3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = deadlock-modmanager-git pkgdesc = A mod manager for the Valve game Deadlock (latest git build) - pkgver = 0.8.2.r6.g885b30b + pkgver = 0.8.2.85.34a389b pkgrel = 1 url = https://github.com/deadlock-mod-manager/deadlock-mod-manager arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 6a5d37edc3ed..dc2e6508d4d1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=deadlock-modmanager-git _pkgname=${pkgname%-git} pkgdesc='A mod manager for the Valve game Deadlock (latest git build)' -pkgver=0.8.2.r6.g885b30b +pkgver=0.8.2.85.34a389b pkgrel=1 arch=('x86_64') url="https://github.com/deadlock-mod-manager/deadlock-mod-manager" @@ -21,7 +21,7 @@ options=('!lto') pkgver() { cd "$srcdir/$_pkgname" - git describe --tags --long --abbrev=7 --match 'v[0-9]*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --match="v*" | sed 's/^v//' | sed 's/\([^-]*\)-\([0-9]*\)-g\([0-9a-f]*\)/\1.\2.\3/' | sed 's/-/./g' } prepare() {