Date: Tuesday, December 13, 2016 @ 10:42:25 Author: nicohood Revision: 199211
upgpkg: arduino-avr-core 1.6.15-1 Modified: arduino-avr-core/trunk/PKGBUILD arduino-avr-core/trunk/platform.patch ----------------+ PKGBUILD | 17 +++++++++-------- platform.patch | 9 ++++----- 2 files changed, 13 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-12-13 10:02:15 UTC (rev 199210) +++ PKGBUILD 2016-12-13 10:42:25 UTC (rev 199211) @@ -2,25 +2,26 @@ # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 pkgname=arduino-avr-core -pkgver=1.6.14 -pkgrel=3 +pkgver=1.6.15 +pkgrel=1 pkgdesc="Arduino AVR core with upstream avr-gcc and avrdude" arch=('any') url="https://github.com/arduino/Arduino" license=('GPL') depends=('avrdude' 'avr-gcc' 'avr-libc') -makedepends=('') -optdepends=('arduino: Arduino IDE') -options=(!strip) -source=("https://downloads.arduino.cc/cores/avr-1.6.14.tar.bz2" +options=(!strip !emptydirs) +source=("https://downloads.arduino.cc/cores/avr-${pkgver}.tar.bz2" "platform.patch") -sha512sums=('06fff5e62ffa6d3d2b11c75fd54fafe689f8d3fbc6ea38ceb14389ace8f0720a6ba0bd29c6ee6096075fb287bb91fa635533e92904f098c55854be438f6f1514' - '8c1b21222bd65d7985a71f6ac037aa69a608e99fe633528f9161ac39d57329499fd32cd8ff0021e15dc2239612edde8cded1a22882f46dc6433388eabc9f24c2') +sha512sums=('ed6abd7b36eb4b2613965e70ccbc978f37253bdbe20938e23259a48719aa013f474ab1949c900766faa02b5c2e28a5a073b372ea1f52060ad5c8c3ba3641756e' + 'fbf23d990addd7267da3d37639a21fbdb79be023e4e873181c6be731af1285a1755a38701615a38b5bdfb9436a55104bed1223c3e61cb4a9cdb261e8f3b6559e') prepare() { # Prepare arduino avr core to be used with internal avr-gcc cd "${srcdir}/avr" + + # Update version in patchfile, then apply it + sed -i "s/^ version=.*/ version=${pkgver}/" "${srcdir}/platform.patch" patch -Np1 -i "${srcdir}/platform.patch" # Remove elf files Modified: platform.patch =================================================================== --- platform.patch 2016-12-13 10:02:15 UTC (rev 199210) +++ platform.patch 2016-12-13 10:42:25 UTC (rev 199211) @@ -4,15 +4,15 @@ @@ -5,7 +5,7 @@ # For more info: # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification - + -name=Arduino AVR Boards +name=Arch Linux Arduino AVR Boards version=1.6.14 - + # AVR compile variables @@ -18,14 +18,14 @@ compiler.warning_flags.all=-Wall -Wextra - + # Default "compiler.path" is correct, change only if you want to override the initial value -compiler.path={runtime.tools.avr-gcc.path}/bin/ +compiler.path=/usr/bin/ @@ -30,9 +30,8 @@ @@ -91,7 +91,7 @@ # AVR Uploader/Programmers tools # ------------------------------ - + -tools.avrdude.path={runtime.tools.avrdude.path} +tools.avrdude.path=/ tools.avrdude.cmd.path={path}/bin/avrdude tools.avrdude.config.path={path}/etc/avrdude.conf -