aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-06-19 06:22:01 +0200
committerMario Preksavec <mario@slackware.hr>2016-06-19 06:22:01 +0200
commit0e9cb0556f0065dc150d837f6b8476bc4fd75d99 (patch)
tree1b0528bf8b4409675f2f6cd6ccd89e51115530c9
parentdc7caa29e74b6b9c8f75fa5d44df4a9bfc4fc6e5 (diff)
development/arduino: Updated for version 1.6.9.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-rw-r--r--development/arduino/arduino.SlackBuild12
-rw-r--r--development/arduino/arduino.desktop11
-rw-r--r--development/arduino/arduino.info10
3 files changed, 24 insertions, 9 deletions
diff --git a/development/arduino/arduino.SlackBuild b/development/arduino/arduino.SlackBuild
index 3161ebf26fb6..648a2a29b327 100644
--- a/development/arduino/arduino.SlackBuild
+++ b/development/arduino/arduino.SlackBuild
@@ -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,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arduino
-VERSION=${VERSION:-1.6.5}
+VERSION=${VERSION:-1.6.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,12 @@ find -L . \
# 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
@@ -83,6 +84,9 @@ ln -s /opt/$PRGNAM/arduino $PKG/usr/bin/$PRGNAM
ln -s /lib$LIBDIRSUFFIX/libncurses.so.5 \
$PKG/opt/$PRGNAM/hardware/tools/avr/lib/libtinfo.so.5
+# Fix perms
+chmod 755 $PKG/opt/$PRGNAM/reference/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a revisions.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/arduino/arduino.desktop b/development/arduino/arduino.desktop
new file mode 100644
index 000000000000..8b271e49393e
--- /dev/null
+++ b/development/arduino/arduino.desktop
@@ -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;
diff --git a/development/arduino/arduino.info b/development/arduino/arduino.info
index 3d20a37e4d21..60ace26f09e9 100644
--- a/development/arduino/arduino.info
+++ b/development/arduino/arduino.info
@@ -1,10 +1,10 @@
PRGNAM="arduino"
-VERSION="1.6.5"
+VERSION="1.6.9"
HOMEPAGE="http://www.arduino.cc/"
-DOWNLOAD="http://mirror.slackware.hr/sources/arduino/arduino-1.6.5-linux32.tar.xz"
-MD5SUM="44c48ba7775d6e4f3b9b9513312319b9"
-DOWNLOAD_x86_64="http://mirror.slackware.hr/sources/arduino/arduino-1.6.5-linux64.tar.xz"
-MD5SUM_x86_64="9bf83a56b31b66c20918c20f5d60f508"
+DOWNLOAD="http://mirror.slackware.hr/sources/arduino/arduino-1.6.9-linux32.tar.xz"
+MD5SUM="afd97cbf3c076f3dfab3aabe5f143378"
+DOWNLOAD_x86_64="http://mirror.slackware.hr/sources/arduino/arduino-1.6.9-linux64.tar.xz"
+MD5SUM_x86_64="cf31421f10e2726afc2d2b320c2b5127"
REQUIRES="jdk"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"