summaryrefslogtreecommitdiff
path: root/community/avr-binutils/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-14 11:07:38 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-14 11:07:38 +0100
commitc8a6e62e24256833cac740194205534c19c4e86a (patch)
tree49773e0db190489895974b0522c010636ea45b9c /community/avr-binutils/PKGBUILD
parentc0a02f08d66969b92325d421354f4def5c23f84c (diff)
parent6fa5f08247aef1f757f376ef12bd4a6257c124f2 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
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')