summaryrefslogtreecommitdiff
path: root/development/Arduino/Arduino.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-02-21 02:52:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-23 00:57:58 +0700
commit36913bcc5bb68480acdb6d29fa33c6e8fed877a2 (patch)
tree0adde5170d65d7eb36421c643b4d747ea4368974 /development/Arduino/Arduino.SlackBuild
parente735d7329e14bb12725f32e9423be5c670c2b96e (diff)
downloadslackbuilds-36913bcc5bb68480acdb6d29fa33c6e8fed877a2.tar.gz
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.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/Arduino/Arduino.SlackBuild b/development/Arduino/Arduino.SlackBuild
index 5cded705b1..8b55ed2021 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,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