diff options
author | root <root@rshg054.dnsready.net> | 2012-11-14 01:13:06 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-14 01:13:06 -0800 |
commit | 6fa5f08247aef1f757f376ef12bd4a6257c124f2 (patch) | |
tree | b743d1e7cbc92a595661ecd730522cee45ebcabe /community/avr-binutils/PKGBUILD | |
parent | a29329c38e50afd28d28c3a99e35d8774b9b19f8 (diff) |
Wed Nov 14 01:13:05 PST 2012
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 b0485b49a..01c20cae6 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') @@ -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') |