aboutsummaryrefslogtreecommitdiff
path: root/network/surfraw/surfraw.SlackBuild
diff options
context:
space:
mode:
authorFrédéric Galusik <slack+SBo@galusik.xyz>2018-03-21 04:57:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-24 06:50:31 +0700
commit1f487182166712975012da5e12579dc951cc38c5 (patch)
tree69b63c0e75e023d0e8ca6534ec697fb75968c6be /network/surfraw/surfraw.SlackBuild
parente3e7fb538132cd32efce3290aa0a15bdcb41fc10 (diff)
network/surfraw: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/surfraw/surfraw.SlackBuild')
-rw-r--r--network/surfraw/surfraw.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/network/surfraw/surfraw.SlackBuild b/network/surfraw/surfraw.SlackBuild
index 149d91309c793..37eb88548de4d 100644
--- a/network/surfraw/surfraw.SlackBuild
+++ b/network/surfraw/surfraw.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for surfraw
-# Copyright 2017 Frédéric Galusik Lyon, France
+# Copyright 2017-2018 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,8 +23,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=surfraw
-VERSION=${VERSION:-2.2.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.3.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -47,10 +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 {} \;
-
-# fix man page symlinking
-sed -i 's,\.gz,,g' links.IN
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
--prefix=/usr \
@@ -72,8 +69,9 @@ 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 AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README STYLE TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install