diff options
Diffstat (limited to 'community/avr-binutils/PKGBUILD')
-rw-r--r-- | community/avr-binutils/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/community/avr-binutils/PKGBUILD b/community/avr-binutils/PKGBUILD index b870deb99..cb5a600a8 100644 --- a/community/avr-binutils/PKGBUILD +++ b/community/avr-binutils/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79108 2012-10-30 17:34:10Z schuay $ +# $Id: PKGBUILD 79838 2012-11-13 22:12:42Z schuay $ # Maintainer: schuay <jakob.gruber@gmail.com> # Contributor: Brad Fanella <bradfanella@archlinux.us> # Contributor: Corrado Primier <bardo@aur.archlinux.org> @@ -8,7 +8,7 @@ pkgname=avr-binutils pkgver=2.23 -pkgrel=1 +pkgrel=2 _pkgname=binutils pkgdesc="A set of programs to assemble and manipulate binary and object files for the avr architecture" arch=('i686' 'x86_64' 'mips64el') @@ -18,14 +18,20 @@ depends=('glibc>=2.16' 'zlib') provides=("binutils-avr=$pkgver") replaces=('binutils-avr') options=('!libtool' '!distcc' '!ccache') -source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz) +source=("ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz" + "avr-size.patch") _builddir=binutils-build build() { - cd ${srcdir} + cd ${srcdir}/${_pkgname}-${pkgver} + + # See https://bugs.archlinux.org/task/32504 + patch -Np0 < ${srcdir}/avr-size.patch - config_guess=$(${_pkgname}-${pkgver}/config.guess) + config_guess=$(./config.guess) + + cd ${srcdir} rm -rf ${_builddir} mkdir ${_builddir} && cd ${_builddir} @@ -65,4 +71,5 @@ package() { done } -md5sums=('ed58f50d8920c3f1d9cb110d5c972c27') +md5sums=('ed58f50d8920c3f1d9cb110d5c972c27' + '573769ec1107d1bfed78680edd7ae63f') |