From cffa588ea8610cda3e25a7e62e14700f62ad587b Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 28 Sep 2025 17:34:30 +0100 Subject: [PATCH] fix pkgver --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fa629b4639ec..c2086dee94d0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = deadlock-modmanager-git pkgdesc = A mod manager for the Valve game Deadlock (latest git build) pkgver = 0.9.0.r5.gda261f1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/deadlock-mod-manager/deadlock-mod-manager arch = x86_64 license = GPL-3.0-or-later diff --git a/PKGBUILD b/PKGBUILD index cc35320c330f..cb7a3ae54cf5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=deadlock-modmanager-git _pkgname=${pkgname%-git} pkgdesc='A mod manager for the Valve game Deadlock (latest git build)' pkgver=0.9.0.r5.gda261f1 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://github.com/deadlock-mod-manager/deadlock-mod-manager" license=('GPL-3.0-or-later') @@ -21,7 +21,7 @@ options=('!lto') pkgver() { cd "$srcdir/$_pkgname" - git describe --long --tags --match="v*" | sed 's/^v//' | sed 's/\([^-]*\)-\([0-9]*\)-g\([0-9a-f]*\)/\1.\2.\3/' | sed 's/-/./g' + git describe --tags --long --abbrev=7 --match 'v[0-9]*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() {