Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / 
binutils


Commits:
c11ff479 by Frederik Schwan at 2024-05-07T13:43:24+02:00
add pkgver() to publish used commit via package version

- - - - -
351a883b by Frederik Schwan at 2024-05-07T13:54:10+02:00
remove redundant echo statement

- - - - -
0b9f301a by Frederik Schwan at 2024-05-07T22:21:47+02:00
upgpkg: 2.42+r91+g6224493e457-1: gcc 14.1.1 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = binutils
        pkgdesc = A set of programs to assemble and manipulate binary and 
object files
-       pkgver = 2.42
-       pkgrel = 3
+       pkgver = 2.42+r91+g6224493e457
+       pkgrel = 1
        url = https://www.gnu.org/software/binutils/
        arch = x86_64
        license = GPL-2.0-or-later


=====================================
PKGBUILD
=====================================
@@ -6,9 +6,9 @@
 # toolchain build order: 
linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
 
 pkgname=binutils
-pkgver=2.42
+pkgver=2.42+r91+g6224493e457
 _commit=6224493e457e72b11818c87cdc112bdb0fee5f81
-pkgrel=3
+pkgrel=1
 pkgdesc='A set of programs to assemble and manipulate binary and object files'
 arch=(x86_64)
 url='https://www.gnu.org/software/binutils/'
@@ -32,6 +32,11 @@ 
sha256sums=('a36780f5918bf383520f44374b2daa2bc737f55aa2601458b9b35d576b4aa7df'
             '2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
 validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
 
+pkgver() {
+  cd binutils-gdb
+  git describe --tags | sed 's/[^-]*-//;s/[^-]*-/&r/;s/-/+/g;s/_/./'
+}
+
 prepare() {
   [[ ! -d binutils-gdb ]] && ln -s binutils-${pkgver} binutils-gdb
   mkdir -p binutils-build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/binutils/-/compare/2f8d264ab839edba48ad201fbde794753957b727...0b9f301a77da5811105c83edf3f83bcafb67279e

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/binutils/-/compare/2f8d264ab839edba48ad201fbde794753957b727...0b9f301a77da5811105c83edf3f83bcafb67279e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to