Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / gcc
Commits:
9dc7297f by Frederik Schwan at 2024-09-21T15:19:13+02:00
fix hash length in pkgver
fixes #14
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -52,7 +52,7 @@
sha256sums=('82b674a17bbac14acbf16b10e9d61e928e5630cd56635eb97acfeda849d4ebbf'
'1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f')
pkgver() {
cd gcc
- echo "$(cat gcc/BASE-VER)+$(git describe --tags | sed
's/[^-]*-[^-]*-//;s/[^-]*-/r&/;s/-/+/g;s/_/./')"
+ echo "$(cat gcc/BASE-VER)+$(git describe --abbrev 12 --tags | sed
's/[^-]*-[^-]*-//;s/[^-]*-/r&/;s/-/+/g;s/_/./')"
}
prepare() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/commit/9dc7297f6752c8592b603c9949613f56fe018453
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/commit/9dc7297f6752c8592b603c9949613f56fe018453
You're receiving this email because of your account on gitlab.archlinux.org.