mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
chore: update pkgver format in .SRCINFO and PKGBUILD
This commit is contained in:
parent
e7f988c28c
commit
0fb0dbc453
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.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
|
||||
|
|
|
|||
4
PKGBUILD
4
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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue