diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-12 17:42:24 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:42:24 +0200 |
commit | d0ab8d63079c28666a8bdf56bc159552751c03b2 (patch) | |
tree | b80aa21e6f3e5039ba267666250437a79a6f9802 /misc/funny-manpages/funny-manpages.SlackBuild | |
parent | e301f1c504596121a3f60b5d8c203f758fd6cea1 (diff) | |
download | slackbuilds-d0ab8d63079c28666a8bdf56bc159552751c03b2.tar.gz |
misc/funny-manpages: Updated for version 1.3.5
Diffstat (limited to 'misc/funny-manpages/funny-manpages.SlackBuild')
-rw-r--r-- | misc/funny-manpages/funny-manpages.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild index 6f71ed08be..af84fdb9a6 100644 --- a/misc/funny-manpages/funny-manpages.SlackBuild +++ b/misc/funny-manpages/funny-manpages.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for funny-manpages -# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,9 +28,8 @@ VERSION=1.3.5 SRC_VERSION=1.3 DEB_VERSION=1.3-5 - ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -57,18 +56,24 @@ find . \ patch -p1 < $CWD/${PRGNAM}_$DEB_VERSION.diff # Create the directories we need -mkdir -p $PKG/usr/man/man{1,3,6} +mkdir -p $PKG/usr/man/man{1,3,6,7} for manpage in $(echo *fun); do section=$(echo $manpage | awk -F. '{print $2}' | colrm 2 4) install -m 0644 $manpage $PKG/usr/man/man$section/$manpage done +# Move date.1fun over to mansection 6. It is kinda screwing with upstream, +# but right now causes a conflict with the systems date(1) ( cd $PKG/usr/man/man1 ln -sf grope.1fun egrope.1fun ln -sf grope.1fun fgrope.1fun + mv date.1fun ../man6/date.6fun ) +# Add custom noobfarm manpage. Thanks to Matt Hayes. +install -m 0644 $CWD/noobfarm.7 $PKG/usr/man/man7/noobfarm.7fun + ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |