network/surfraw: Updated for version 2.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Frédéric Galusik 2018-03-21 04:57:00 +07:00 committed by Willy Sudiarto Raharjo
parent e3e7fb5381
commit 1f48718216
3 changed files with 12 additions and 14 deletions

View file

@ -15,5 +15,5 @@ surfraw: slashdot and many others from the false-prophet, pox-infested heathen
surfraw: lands of html-forms, placing these wonders where they belong, deep in
surfraw: unix heartland, as god loving extensions to the shell.
surfraw:
surfraw: Homepage: http://surfraw.alioth.debian.org
surfraw: Homepage: https://gitlab.com/surfraw/Surfraw
surfraw:

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="surfraw"
VERSION="2.2.9"
HOMEPAGE="http://surfraw.alioth.debian.org/"
DOWNLOAD="http://surfraw.alioth.debian.org/dist/surfraw-2.2.9.tar.gz"
MD5SUM="87cbe652fb59727f6361390839a91b07"
VERSION="2.3.0"
HOMEPAGE="https://gitlab.com/surfraw/Surfraw"
DOWNLOAD="https://gitlab.com/surfraw/Surfraw/uploads/2de827b2786ef2fe43b6f07913ca7b7f/surfraw-2.3.0.tar.gz"
MD5SUM="6f771c5f23d4a06913142996461d7f59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""