diff options
author | Didier Spaier <didier at slint dot fr> | 2018-06-16 00:16:20 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-17 19:13:25 +0100 |
commit | f854ad412bf7bfc93db3f32024c76cda1741a32f (patch) | |
tree | bb0f1e3100039d53136c352170708575c4832fb7 /misc/po4a/po4a.SlackBuild | |
parent | 3d57545ef87b1b70e1b3ab5d6c6102017799c7d8 (diff) |
misc/po4a: Updated for version 0.53.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/po4a/po4a.SlackBuild')
-rw-r--r-- | misc/po4a/po4a.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index f719763700dd..a80e00e7ef51 100644 --- a/misc/po4a/po4a.SlackBuild +++ b/misc/po4a/po4a.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for po4a -# Copyright 2014,2015 Didier Spaier Paris, France +# Copyright 2014, 2015, 2018 Didier Spaier Paris, France # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ # LC_ALL=en_US.utf8 ./po4a.SlackBuild PRGNAM=po4a -VERSION=${VERSION:-0.47} +VERSION=${VERSION:-0.53} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +36,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -47,8 +47,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -89,16 +89,12 @@ 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 -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 find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING NEWS README README.maintainers README.tests README.translators TODO \ +cp -a COPYING NEWS README* TODO \ changelog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |