development/Arduino: Updated for version 1.6.7.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2016-02-21 02:52:02 +01:00 committed by Willy Sudiarto Raharjo
parent e735d7329e
commit 36913bcc5b
3 changed files with 20 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for Arduino
# Copyright 2015 Mario Preksavec, Zagreb, Croatia
# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Arduino
VERSION=${VERSION:-1.6.5}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
REFERENCE=${REFERENCE:-1.6.0}
@ -139,11 +139,12 @@ rm -rf hardware/tmp/
# Manual install ensues
mkdir -p $PKG/opt/$PRGNAM
mv arduino dist examples hardware lib libraries reference tools $PKG/opt/$PRGNAM
mv arduino{,-builder} dist examples hardware lib libraries reference \
tools{,-builder} $PKG/opt/$PRGNAM
# Make it a bit more user friendly
mkdir -p $PKG/usr/{bin,share/applications}
sed "s/FULL_PATH/\/opt\/$PRGNAM/" arduino.desktop \
sed "s/FULL_PATH/\/opt\/$PRGNAM/" $CWD/arduino.desktop \
> $PKG/usr/share/applications/$PRGNAM.desktop
ln -s /opt/$PRGNAM/arduino $PKG/usr/bin/$PRGNAM

View file

@ -1,7 +1,7 @@
PRGNAM="Arduino"
VERSION="1.6.5"
VERSION="1.6.7"
HOMEPAGE="http://www.arduino.cc/"
DOWNLOAD="https://github.com/arduino/Arduino/archive/1.6.5.tar.gz \
DOWNLOAD="https://github.com/arduino/Arduino/archive/1.6.7.tar.gz \
http://downloads.arduino.cc/reference-1.6.0.zip \
http://downloads.arduino.cc/Galileo_help_files-1.6.2.zip \
http://downloads.arduino.cc/Edison_help_files-1.6.2.zip \
@ -25,7 +25,7 @@ DOWNLOAD="https://github.com/arduino/Arduino/archive/1.6.5.tar.gz \
http://download.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2 \
http://mirror.switch.ch/ftp/mirror/gnu/autoconf/autoconf-2.64.tar.bz2 \
http://mirror.switch.ch/ftp/mirror/gnu/automake/automake-1.11.1.tar.bz2"
MD5SUM="b340a595fb024da1636eb396342b011d \
MD5SUM="29bc090bae58a5078032b6a53d9ebc45 \
e95c906955bbdefcf31751633b289d48 \
dfa93daedbe9188f20f00308f64f4908 \
c97d466ee23021ffb0d57c222d93e96f \

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=Arduino IDE
GenericName=Integrated Development Environment
Comment=An IDE for Arduino-compatible electronics prototyping platforms
Exec=FULL_PATH/arduino
Icon=FULL_PATH/lib/arduino.png
Terminal=false
Categories=Development;IDE;Electronics;
MimeType=text/x-arduino
Keywords=embedded electronics;electronics;avr;microcontroller;