summaryrefslogtreecommitdiff
path: root/desktop/alltray
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-01-30 14:27:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 06:58:19 +0700
commite362851d41b7080fd5222c1225b8ce7c2f7ce4ef (patch)
tree22ef9bab119d3851120941090b9cab97ac2c839f /desktop/alltray
parent20541280d04cb0bd1cf105217fccc24216b3ff15 (diff)
downloadslackbuilds-e362851d41b7080fd5222c1225b8ce7c2f7ce4ef.tar.gz
desktop/alltray: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/alltray')
-rw-r--r--desktop/alltray/alltray.SlackBuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/desktop/alltray/alltray.SlackBuild b/desktop/alltray/alltray.SlackBuild
index 6bc27ec290..ec006dba92 100644
--- a/desktop/alltray/alltray.SlackBuild
+++ b/desktop/alltray/alltray.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
-# SlackBuild script for "alltray".
-# Copyright 2014 Marcel Saegebarth <marc@mos6581.de>
+# Slackware build script for "alltray".
+
+# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -42,17 +43,17 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -64,7 +65,7 @@ cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -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 \
@@ -90,7 +91,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir $PKG/install
+mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG