diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 19 insertions, 31 deletions
@@ -1,20 +1,16 @@ pkgbase = x86_64-efi-pe-binutils pkgdesc = A set of programs to assemble and manipulate binary and object files for the x86_64 architecture in the Portable Executable format. - pkgver = 2.24 - pkgrel = 0 + pkgver = 2.29.1 + pkgrel = 1 url = http://www.gnu.org/software/binutils/ - arch = i686 arch = x86_64 license = GPL depends = zlib - source = ftp://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2 - source = ftp://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2.sig - source = binutils-2.24-lto-testsuite.patch - source = binutils-2.24-shared-pie.patch - md5sums = e0f71a7b2ddab0f8612336ac81d9636b + source = https://ftp.gnu.org/gnu/binutils/binutils-2.29.1.tar.xz + source = https://ftp.gnu.org/gnu/binutils/binutils-2.29.1.tar.xz.sig + validpgpkeys = 3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F + md5sums = acc9cd826edb9954ac7cecb81c727793 md5sums = SKIP - md5sums = b16e895c24ff80acd98a21021eccefad - md5sums = ec59461c4febab9cfe1c1ef33326bc50 pkgname = x86_64-efi-pe-binutils @@ -1,40 +1,33 @@ -# Maintainer: Jeroen Bollen <jbinero@gmail.com> +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Jeroen Bollen <jbinero@gmail.com> pkgname=x86_64-efi-pe-binutils -pkgver=2.24 -pkgrel=0 +pkgver=2.29.1 +pkgrel=1 pkgdesc="A set of programs to assemble and manipulate binary and object files for the x86_64 architecture in the Portable Executable format. " url="http://www.gnu.org/software/binutils/" -arch=('i686' 'x86_64') +arch=('x86_64') license=('GPL') depends=('zlib') -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig} - binutils-2.24-lto-testsuite.patch - binutils-2.24-shared-pie.patch) -md5sums=('e0f71a7b2ddab0f8612336ac81d9636b' - 'SKIP' - 'b16e895c24ff80acd98a21021eccefad' - 'ec59461c4febab9cfe1c1ef33326bc50') +source=(https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.xz{,.sig}) +validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F) +md5sums=('acc9cd826edb9954ac7cecb81c727793' + 'SKIP') _target="x86_64-efi-pe" prepare() { cd ${srcdir}/binutils-${pkgver} - + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - - # fix lto testsuite with gcc-4.9 - commit b35d44f1 - patch -p1 -i $srcdir/binutils-2.24-lto-testsuite.patch - # fix issues with -static -fPIE -pie - commit 4199e3b8 - patch -p1 -i $srcdir/binutils-2.24-shared-pie.patch - mkdir ${srcdir}/binutils-build } build() { cd ${srcdir}/binutils-build - ${srcdir}/binutils-${pkgver}/configure --prefix=/usr \ + ${srcdir}/binutils-${pkgver}/configure \ + --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --program-prefix=${_target}- \ --target=${_target} --disable-werror @@ -47,8 +40,7 @@ build() { package() { cd ${srcdir}/binutils-build make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install - - msg "Removing duplicit files..." + # remove these files as they are already in the system # (with native binutils) rm -Rf ${pkgdir}/usr/share/ |