core/binutils to 2.42+r91+g6224493e457-1

This commit is contained in:
Kevin Mihelich 2024-05-08 18:15:15 +00:00
parent 2aebc3cf90
commit ef1b3ee5d6
2 changed files with 9 additions and 4 deletions

View file

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

View file

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