aboutsummaryrefslogtreecommitdiff
path: root/development/arduino/arduino.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-02-21 02:51:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-23 00:57:58 +0700
commite735d7329e14bb12725f32e9423be5c670c2b96e (patch)
tree4f3bb5c353a65201272335c7f075c09354c6151d /development/arduino/arduino.SlackBuild
parent53c501c34b913c5a8a85a5ce5c32701cbce40fea (diff)
development/arduino: Updated for version 1.6.7.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'development/arduino/arduino.SlackBuild')
-rw-r--r--development/arduino/arduino.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/arduino/arduino.SlackBuild b/development/arduino/arduino.SlackBuild
index 3161ebf26fb6..d5208c8ed7b4 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.7}
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