summaryrefslogtreecommitdiffstats
path: root/system/unhide/unhide.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-20 16:20:06 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-20 16:20:06 +0700
commit39d0bce2a618e07b218d24ee92f2f698f6d2f51e (patch)
tree2ba2efa2c5072c3b9f438db4dcf0d8884dc801d2 /system/unhide/unhide.SlackBuild
parente164e7eb48d3c74d9ce4d4c59242669b898e1357 (diff)
downloadslackbuilds-39d0bce2a618e07b218d24ee92f2f698f6d2f51e.tar.gz
slackbuilds-39d0bce2a618e07b218d24ee92f2f698f6d2f51e.tar.xz
system/unhide: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unhide/unhide.SlackBuild')
-rw-r--r--system/unhide/unhide.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/unhide/unhide.SlackBuild b/system/unhide/unhide.SlackBuild
index 69107d0fa6..e32a39575b 100644
--- a/system/unhide/unhide.SlackBuild
+++ b/system/unhide/unhide.SlackBuild
@@ -5,7 +5,7 @@
# This script is of public domain. It can be distributed, modified and used as desired.
# Based on the PorteusBuild written by the same author at www.porteus.org/forum
-# Black Rider [black_rider@esdebian.org]
+# Rubén Llorente <porting@use.startmail.com>
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -19,7 +19,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unhide
-VERSION=20121229
+VERSION=${VERSION:-20121229}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ 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 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# gcc --static unhide.c -o unhide #### This is an obsolete version.
gcc $SLKCFLAGS -Wall --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
@@ -83,9 +83,7 @@ cp man/fr/unhide.8 $PKG/usr/man/fr/man8
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp \
- COPYING LEEME.txt LISEZ-MOI.TXT README.txt TODO changelog \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp COPYING LEEME.txt LISEZ-MOI.TXT README.txt TODO changelog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README