summaryrefslogtreecommitdiff
path: root/system/linkchecker/linkchecker.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-21 10:37:41 -0500
committerErik Hanson <erik@slackbuilds.org>2014-03-21 10:37:41 -0500
commitfe5311b23639c9b03561aebcd85d221457257aeb (patch)
treeb187961779148cd3e7b91b846c2d4348706dd9a0 /system/linkchecker/linkchecker.SlackBuild
parent21308c4dbc5704d65f01ce65b5df1688d7871c45 (diff)
downloadslackbuilds-fe5311b23639c9b03561aebcd85d221457257aeb.tar.gz
system/linkchecker: Updated for version 9.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/linkchecker/linkchecker.SlackBuild')
-rw-r--r--system/linkchecker/linkchecker.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/system/linkchecker/linkchecker.SlackBuild b/system/linkchecker/linkchecker.SlackBuild
index d1af96689c..7ca838c1b8 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