From 2b6d70a23e4e532986a12837d2b3976b02301d59 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 29 Aug 2015 14:13:23 +0200 Subject: [PATCH] arduino: install package_index.json. fixes #3476. --- srcpkgs/arduino/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index c1edd99186f..76be94f0cbb 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -1,7 +1,7 @@ # Template file for 'arduino' pkgname=arduino version=1.6.5 -revision=1 +revision=2 makedepends="openjdk" hostmakedepends="apache-ant unzip ImageMagick" depends="virtual?java-runtime avr-binutils avr-gcc avr-libc avrdude" @@ -31,7 +31,7 @@ do_build() { cp bin/libastyle-2.05.1j.so \ ../../../Arduino-$version/build/linux/work/lib/libastylej.so cd ../../../Arduino-$version/build - ant linux-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 \