summaryrefslogtreecommitdiff
path: root/community/avr-binutils/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-19 10:10:33 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-19 10:10:33 -0300
commit9e30cea6b8a2e90fd8958ca1f773e3a382179763 (patch)
tree7ce1eda16c69a04998d595f3bfcccf9a65489327 /community/avr-binutils/PKGBUILD
parent503317d2f4cb14793d90cca90822975c41e8c0a1 (diff)
parent858daf289b238f4aa3190656635fc354ddd2bce9 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Conflicts: social/sobby/PKGBUILD ~fauno/kyotocabinet/PKGBUILD ~fauno/kyototycoon/PKGBUILD
Diffstat (limited to 'community/avr-binutils/PKGBUILD')
-rw-r--r--community/avr-binutils/PKGBUILD19
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')