1
0
Fork 0

1:46.3.1+r3+g7e0e42801-1: The pkgver is 1 letter too long and gets truncated

* causing the built pkgver fail to match remote source.

Signed-off-by: Mingi Sung <sungmg@saltyming.net>
This commit is contained in:
Mingi Sung 2024-07-12 20:09:36 +09:00
parent 6b7718cbc2
commit 18b7da3a87
Signed by: sungmg
GPG key ID: 41BAFD6FFD8036C5
2 changed files with 6 additions and 6 deletions

View file

@ -1,12 +1,12 @@
pkgbase = mutter-performance
pkgdesc = A window manager for GNOME | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
pkgver = 46.3.1+r3+g7e0e428016
pkgver = 46.3.1+r3+g7e0e42801
pkgrel = 1
epoch = 1
url = https://gitlab.gnome.org/GNOME/mutter
arch = x86_64
arch = aarch64
license = GPL
license = GPL-2.0-or-later
makedepends = egl-wayland
makedepends = gi-docgen
makedepends = git

View file

@ -32,12 +32,12 @@ else
pkgname=(mutter-performance mutter-performance-docs)
fi
epoch=1
pkgver=46.3.1+r3+g7e0e428016
pkgver=46.3.1+r3+g7e0e42801
pkgrel=1
pkgdesc="A window manager for GNOME | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync"
url="https://gitlab.gnome.org/GNOME/mutter"
arch=(x86_64 aarch64)
license=(GPL)
license=(GPL-2.0-or-later)
depends=(
at-spi2-core
cairo
@ -136,8 +136,8 @@ for mr in "${_merge_requests_to_use[@]}"; do
done
pkgver() {
cd $_pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
cd mutter
git describe --tags | sed -r 's/\.([a-z])/\1/;s/([a-z])\./\1/;s/[^-]*-g/r&/;s/-/+/g'
}
pick_mr() {