* update x86_64-pc-linux-gnu-binutils to 2.43_1+r186+g61f8adadd6db-1

This commit is contained in:
Alexander Baldeck 2025-02-04 23:07:35 +01:00
parent ef6a9fe13e
commit 6f2a7841d1
2 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,24 @@
pkgbase = x86_64-pc-linux-gnu-binutils
pkgdesc = Assemble and manipulate binary and object files for riscv64
pkgver = 2.43_1+r186+g61f8adadd6db
pkgrel = 1
url = https://gnu.org/software/binutils/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL
makedepends = git
makedepends = setconf
depends = glibc
depends = zlib
depends = libelf
depends = jansson
source = git+https://sourceware.org/git/binutils-gdb.git#commit=61f8adadd6db110f4a333c0a853dc492d8abe4bc
source = gold-warn-unsupported.patch
validpgpkeys = 3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F
sha256sums = bf0b750964266ac0a6790209eab3e23a2a143714d39e3ee2f568b3be04a57c69
sha256sums = 2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4
pkgname = x86_64-pc-linux-gnu-binutils

View File

@ -5,8 +5,8 @@
_target=x86_64-pc-linux-gnu
pkgname=$_target-binutils
pkgver=2.42+r91+g6224493e457
_commit=6224493e457e72b11818c87cdc112bdb0fee5f81
pkgver=2.43_1+r186+g61f8adadd6db
_commit=61f8adadd6db110f4a333c0a853dc492d8abe4bc
pkgrel=1
pkgdesc='Assemble and manipulate binary and object files for riscv64'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -16,12 +16,13 @@ depends=(glibc zlib libelf jansson)
makedepends=(git setconf)
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
gold-warn-unsupported.patch)
sha512sums=('f795d671307315c348b98bfca7b8563ea9a4814c255ad6cee780d75c2f73be8f598b5e187698bad18dcf6eeffbb1aff9cab8d984d33561a3e88dfccaf367b5f9'
'5d827b349b4456f8314776f1545396945c751b822a77604157b3fe436e5ff82bb313af3a215c99fd9d1f1f8ebb9f92033cc1a4968e35734619ad28b9bb3839a7')
sha256sums=('bf0b750964266ac0a6790209eab3e23a2a143714d39e3ee2f568b3be04a57c69'
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
pkgver() {
cd binutils-gdb
git describe --tags | sed 's/[^-]*-//;s/[^-]*-/&r/;s/-/+/g;s/_/./'
git describe --abbrev=12 --tags | sed 's/[^-]*-//;s/[^-]*-/&r/;s/-/+/g;s/_/./'
}
prepare() {