summaryrefslogtreecommitdiff
path: root/development/arduino/arduino.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/arduino/arduino.SlackBuild')
-rw-r--r--development/arduino/arduino.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/arduino/arduino.SlackBuild b/development/arduino/arduino.SlackBuild
index ea8b35ab3c..648a2a29b3 100644
--- a/development/arduino/arduino.SlackBuild
+++ b/development/arduino/arduino.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arduino
-VERSION=${VERSION:-1.6.7}
+VERSION=${VERSION:-1.6.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,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
@@ -92,7 +95,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-chmod 755 $PKG/opt/$PRGNAM/reference/*
-
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}