aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3splt/mp3splt.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-06 04:23:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:50 +0700
commit8ace3180ef4b5374a5b3137d466e0bcaf45babab (patch)
tree6f12a4d9f5607d274064e35ba0334a73bad6ee9a /audio/mp3splt/mp3splt.SlackBuild
parentaaa96c2d91e09c1937043ec8cbcb6cd4e0661b8f (diff)
audio/mp3splt: Fix broken man symlinks.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mp3splt/mp3splt.SlackBuild')
-rw-r--r--audio/mp3splt/mp3splt.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/mp3splt/mp3splt.SlackBuild b/audio/mp3splt/mp3splt.SlackBuild
index 9e44bbb518f5..1dbe02173a9c 100644
--- a/audio/mp3splt/mp3splt.SlackBuild
+++ b/audio/mp3splt/mp3splt.SlackBuild
@@ -23,19 +23,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230106 bkw: BUILD=2. Man page symlinks have been broken for 8
+# years. Nobody noticed, does anyone even use this?
+
+# 20150107 bkw:
+# - Updated for v2.6.2
+
# 20140819 bkw:
# - Updated for v2.6.1a
# - Get rid of empty TODO and redundant INSTALL from /usr/doc.
# - Use make install-strip instead of find/xargs/strip
-# 20150107 bkw:
-# - Updated for v2.6.2
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mp3splt
VERSION=${VERSION:-2.6.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,6 +99,7 @@ make
make install-strip DESTDIR=$PKG
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 ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION