summaryrefslogtreecommitdiff
path: root/development/scratch
diff options
context:
space:
mode:
Diffstat (limited to 'development/scratch')
-rw-r--r--development/scratch/scratch.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/development/scratch/scratch.SlackBuild b/development/scratch/scratch.SlackBuild
index bf895ca7d9..ac5e5850aa 100644
--- a/development/scratch/scratch.SlackBuild
+++ b/development/scratch/scratch.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for scratch
-# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -62,13 +62,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION.src
tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
cd $PRGNAM-$VERSION.src
-
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make build
@@ -108,12 +107,10 @@ chmod -R 0755 $PKG/usr/share/icons/hicolor
cp -rf Plugins $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/help
-cp -a \
- ACKNOWLEDGEMENTS KNOWN-BUGS LICENSE NOTICE README TRADEMARK_POLICY \
+cp -a ACKNOWLEDGEMENTS KNOWN-BUGS LICENSE NOTICE README TRADEMARK_POLICY \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- Help/en/* \
- $PKG/usr/doc/$PRGNAM-$VERSION/help
+cp -a Help/en/* $PKG/usr/doc/$PRGNAM-$VERSION/help
+chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION/help/images
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild