aboutsummaryrefslogtreecommitdiff
path: root/development/arduino
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-07-25 17:38:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-26 18:28:18 +0700
commitdbf6cdeecdf1c27fae64c6cc5fa523f9dd46a9cf (patch)
tree720cbd65c590f61e590d53c41f00338281df2011 /development/arduino
parent075cae75065cb7f3723250c7a951562d9f4ccc5f (diff)
development/arduino: Updated for version 1.8.3.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'development/arduino')
-rw-r--r--development/arduino/arduino.SlackBuild13
-rw-r--r--development/arduino/arduino.info10
2 files changed, 10 insertions, 13 deletions
diff --git a/development/arduino/arduino.SlackBuild b/development/arduino/arduino.SlackBuild
index ce5acb082f0a4..c7474d0d92ac8 100644
--- a/development/arduino/arduino.SlackBuild
+++ b/development/arduino/arduino.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for arduino
-# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2016, 2017 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.9}
+VERSION=${VERSION:-1.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,22 +71,19 @@ find -L . \
# Manual install ensues
mkdir -p $PKG/opt/$PRGNAM
-mv arduino{,-builder} dist examples hardware lib libraries reference \
+mv $PRGNAM{,-builder} 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/" $CWD/arduino.desktop \
+sed "s/FULL_PATH/\/opt\/$PRGNAM/" $CWD/$PRGNAM.desktop \
> $PKG/usr/share/applications/$PRGNAM.desktop
-ln -s /opt/$PRGNAM/arduino $PKG/usr/bin/$PRGNAM
+ln -s /opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
# Hack for missing libtinfo.so.5
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.info b/development/arduino/arduino.info
index 1d52e2096a640..8dad018095992 100644
--- a/development/arduino/arduino.info
+++ b/development/arduino/arduino.info
@@ -1,10 +1,10 @@
PRGNAM="arduino"
-VERSION="1.6.9"
+VERSION="1.8.3"
HOMEPAGE="https://www.arduino.cc/"
-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"
+DOWNLOAD="http://mirror.slackware.hr/sources/arduino/arduino-1.8.3-linux32.tar.xz"
+MD5SUM="bddd208e721aad0b0d079c5eddb9b6b6"
+DOWNLOAD_x86_64="http://mirror.slackware.hr/sources/arduino/arduino-1.8.3-linux64.tar.xz"
+MD5SUM_x86_64="4385433f3ce7dda7fe58ee72da56811e"
REQUIRES="jdk"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"