arduino: update to 1.8.5 (#8599)

astyle has also been updated to 3.0.1
This commit is contained in:
Peter Bui 2017-11-02 04:34:00 -04:00 committed by Juan RP
parent 409d6c9366
commit 1b5c7a2e3b

View file

@ -1,6 +1,6 @@
# Template file for 'arduino'
pkgname=arduino
version=1.8.3
version=1.8.5
revision=1
hostmakedepends="apache-ant unzip ImageMagick openjdk"
depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude"
@ -10,9 +10,9 @@ license="GPL-2, LGPL-2"
homepage="http://arduino.cc/"
distfiles="
https://github.com/arduino/Arduino/archive/${version}.tar.gz
${SOURCEFORGE_SITE}/astyle/astyle_2.05.1_linux.tar.gz"
checksum="754476522b2fe49641b23dfc6e9cb5e0130a6df2eff5a8b76008f7e86885e9eb
fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac"
${SOURCEFORGE_SITE}/astyle/astyle_3.0.1_linux.tar.gz"
checksum="57e8c4cf9147135a10cfd45431189a675b1c39ddf833eaeed553f4fc869fdf69
6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd"
nostrip=yes
wrksrc=Arduino-$version
@ -26,7 +26,7 @@ do_build() {
mkdir -p build/linux/work/lib
cd ../astyle/build/gcc
make ${makejobs} java
cp bin/libastyle-2.05.1j.so \
cp bin/libastylej.so.3.0.1 \
../../../Arduino-$version/build/linux/work/lib/libastylej.so
cd ../../../Arduino-$version/build
case "$XBPS_TARGET_MACHINE" in