aboutsummaryrefslogtreecommitdiff
path: root/development/Arduino/Arduino.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-10-27 20:41:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-28 07:07:05 +0700
commit7ecae4b2735c3d028a317a3b527f12d1d6bc5bab (patch)
tree73b44f9800c0c5106de304e294d8b51cfd8376a4 /development/Arduino/Arduino.SlackBuild
parent8d3d489f40e39fb71d72514fd04345452b498e3e (diff)
development/Arduino: Fixed ownership & tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/Arduino/Arduino.SlackBuild')
-rw-r--r--development/Arduino/Arduino.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/Arduino/Arduino.SlackBuild b/development/Arduino/Arduino.SlackBuild
index d8ac2ff3ca1e4..33b63a5849479 100644
--- a/development/Arduino/Arduino.SlackBuild
+++ b/development/Arduino/Arduino.SlackBuild
@@ -105,7 +105,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Prepare toolchain
-tar xvf $CWD/$GCC-atmel$AVR-$AVR_BUILD.tar.gz
+tar xvf $CWD/toolchain-avr-$GCC-atmel$AVR-$AVR_BUILD.tar.gz
cp $CWD/autoconf-$AUTOCONF.tar.bz2 \
$CWD/automake-$AUTOMAKE.tar.bz2 \
$CWD/avr-binutils.tar.bz2 \
@@ -191,7 +191,7 @@ mv arduino{,-builder} examples hardware lib libraries reference \
tools{,-builder} $PKG/opt/$PRGNAM
# Ownership fixup
-chown -R root:root $PKG/opt/$PRGNAM/tools-builder
+chown -R root:root $PKG/opt/$PRGNAM/tools-builder $PKG/opt/Arduino/hardware
# Make it a bit more user friendly
mkdir -p $PKG/usr/{bin,share/applications}