diff --git a/srcpkgs/arduino/patches/disable-astyle-download.patch b/srcpkgs/arduino/patches/disable-astyle-download.patch index 58002176210..83af8df25cc 100644 --- a/srcpkgs/arduino/patches/disable-astyle-download.patch +++ b/srcpkgs/arduino/patches/disable-astyle-download.patch @@ -6,12 +6,12 @@ - - -- -- -- +- +- +- - - -- +- - diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index 86fe7a0eba4..0009da02c3a 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -12,8 +12,7 @@ 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=" - 5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f +checksum="5feda6d10d430498bea4a13b1d0e2106018e2fe175be657b451428d9e3547d8f fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac" nostrip=yes wrksrc=Arduino-$version @@ -34,8 +33,7 @@ do_build() { ant linux-build package-library-index-json-bundle sed -i -e "s#{runtime\.tools\.[^.]*\.path}#/usr#g" \ -e "s#\(tools\.avrdude\.config\.path=\).*#\1/etc/avrdude.conf#" \ - linux/work/hardware/arduino/avr/platform.txt \ - linux/work/hardware/platform.keys.rewrite.txt + linux/work/hardware/arduino/avr/platform.txt convert linux/work/lib/arduino_icon.ico icon.png }