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.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/development/Arduino/Arduino.SlackBuild b/development/Arduino/Arduino.SlackBuild
index 8b55ed2021..b3aadb1465 100644
--- a/development/Arduino/Arduino.SlackBuild
+++ b/development/Arduino/Arduino.SlackBuild
@@ -142,6 +142,9 @@ mkdir -p $PKG/opt/$PRGNAM
mv arduino{,-builder} dist examples hardware lib libraries reference \
tools{,-builder} $PKG/opt/$PRGNAM
+# Ownership fixup
+chown -R root:root $PKG/opt/Arduino/tools-builder
+
# Make it a bit more user friendly
mkdir -p $PKG/usr/{bin,share/applications}
sed "s/FULL_PATH/\/opt\/$PRGNAM/" $CWD/arduino.desktop \