diff options
Diffstat (limited to 'system/linkchecker/linkchecker.SlackBuild')
-rw-r--r-- | system/linkchecker/linkchecker.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/system/linkchecker/linkchecker.SlackBuild b/system/linkchecker/linkchecker.SlackBuild index d1af96689c8b2..7ca838c1b8042 100644 --- a/system/linkchecker/linkchecker.SlackBuild +++ b/system/linkchecker/linkchecker.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for linkchecker -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=linkchecker SRCNAM=LinkChecker -VERSION=${VERSION:-8.4} +VERSION=${VERSION:-9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,16 +75,18 @@ python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/share/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +mv $PKG/usr/share/man $PKG/usr + +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/usr/share/pixmaps cp $CWD/logo48x48.png $PKG/usr/share/pixmaps + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING README.txt doc/*.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.txt doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/share/linkchecker/examples/ $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |