aboutsummaryrefslogtreecommitdiff
path: root/network/surfraw/surfraw.SlackBuild
diff options
context:
space:
mode:
authorFrédéric Galusik <slack+SBo@galusik.xyz>2017-04-16 23:00:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 07:45:35 +0700
commita3b0548ccf83621e8e652cb1967fa478ff92b5eb (patch)
tree6a017883e765821e3feee7a39a9befbefc9093c3 /network/surfraw/surfraw.SlackBuild
parenta232eabc67e1b0e5351303ee54db19adefb1563d (diff)
network/surfraw: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/surfraw/surfraw.SlackBuild')
-rw-r--r--network/surfraw/surfraw.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/surfraw/surfraw.SlackBuild b/network/surfraw/surfraw.SlackBuild
index 7b35e546ced47..149d91309c793 100644
--- a/network/surfraw/surfraw.SlackBuild
+++ b/network/surfraw/surfraw.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Slackware build script for surfraw
+# Copyright 2017 Frédéric Galusik Lyon, France
# Copyright 2007 Martin Lefebvre <dadexter@slackadelic.com>
# Copyright 2010-2011 Grigorios Bouzakis <grbzks@xsmail.com>
# Copyright 2014 Glenn Becker <burningc@sdf.org>
@@ -23,7 +24,7 @@
PRGNAM=surfraw
VERSION=${VERSION:-2.2.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -33,8 +34,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO"
-
set -e
rm -rf $PKG
@@ -48,7 +47,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 {} \;
# fix man page symlinking
sed -i 's,\.gz,,g' links.IN
@@ -73,7 +72,8 @@ 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 -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install