summaryrefslogtreecommitdiffstats
path: root/misc/po4a/po4a.SlackBuild
diff options
context:
space:
mode:
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 7f65abc741..bde774eab4 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