aboutsummaryrefslogtreecommitdiff
path: root/misc/po4a/po4a.SlackBuild
diff options
context:
space:
mode:
authorDidier Spaier <didier at slint dot fr>2015-10-10 00:44:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-10 00:44:48 +0700
commit440d5f2af48a06fa1921a9195e48b17a6aafba29 (patch)
tree723fcf14ee567166e905e9c07bb4408a3c282cc4 /misc/po4a/po4a.SlackBuild
parentf8905aed583c539790d9ed2fb4835014269b65b5 (diff)
misc/po4a: Updated for version 0.47.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/po4a/po4a.SlackBuild')
-rw-r--r--misc/po4a/po4a.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild
index 7f65abc741989..bde774eab4c72 100644
--- a/misc/po4a/po4a.SlackBuild
+++ b/misc/po4a/po4a.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for perl-Unicode-LineBreak
+# Slackware build script for po4a
-# Copyright 2014 Didier Spaier Paris, France
+# Copyright 2014,2015 Didier Spaier Paris, France
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,8 +28,8 @@
# LC_ALL=en_US.utf8 ./po4a.SlackBuild
PRGNAM=po4a
-VERSION=${VERSION:-0.45}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.48}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
@@ -89,10 +89,8 @@ perl Build.PL \
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
-cp -rf $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share/man
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+mv $PKG/usr/share/man/ $PKG/usr/
+# All man pages are already gzipped.
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true