chore: update pkgver format in .SRCINFO and PKGBUILD

This commit is contained in:
Anas Mazouni 2025-09-27 20:03:40 +02:00
parent e7f988c28c
commit 0fb0dbc453
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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() {