diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index 5c0dbb519da..1ab7eb1d35a 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -1,7 +1,7 @@ # Template file for 'arduino' pkgname=arduino version=1.8.5 -revision=1 +revision=2 hostmakedepends="apache-ant unzip ImageMagick openjdk" depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude" short_desc="IDE for the arduino open-source electronics prototyping platform" @@ -34,7 +34,7 @@ do_build() { x86_64*) LINUX_BUILD=linux64-build ;; *) LINUX_BUILD=linux-build ;; esac - ant $LINUX_BUILD + ant -Dversion=${version} $LINUX_BUILD 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