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 | |
parent | 3d57545ef87b1b70e1b3ab5d6c6102017799c7d8 (diff) | |
download | slackbuilds-f854ad412bf7bfc93db3f32024c76cda1741a32f.tar.gz |
misc/po4a: Updated for version 0.53.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/po4a')
-rw-r--r-- | misc/po4a/README | 1 | ||||
-rw-r--r-- | misc/po4a/po4a.SlackBuild | 16 | ||||
-rw-r--r-- | misc/po4a/po4a.info | 10 | ||||
-rw-r--r-- | misc/po4a/slack-desc | 4 |
4 files changed, 14 insertions, 17 deletions
diff --git a/misc/po4a/README b/misc/po4a/README index ff0d43f0f7..12d67030e2 100644 --- a/misc/po4a/README +++ b/misc/po4a/README @@ -20,6 +20,7 @@ http://slackbuilds.org). Po4a-0.47 | +|-- perl-YAML-Tiny. Mandatory for the Yaml module. |-- perl-Module-Build |-- perl-text-WrapI18N to format po4a's warnings and error messages. Optional. | |-- Text::CharWidth. Mandatory diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index f719763700..a80e00e7ef 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 diff --git a/misc/po4a/po4a.info b/misc/po4a/po4a.info index 13fa48cacc..6807bb0fd3 100644 --- a/misc/po4a/po4a.info +++ b/misc/po4a/po4a.info @@ -1,10 +1,10 @@ PRGNAM="po4a" -VERSION="0.47" -HOMEPAGE="http://po4a.alioth.debian.org/" -DOWNLOAD="https://alioth.debian.org/frs/download.php/file/4142/po4a-0.47.tar.gz" -MD5SUM="fdbfe10c43c09bf1ea74ae91b5d82a96" +VERSION="0.53" +HOMEPAGE="https://po4a.org/" +DOWNLOAD="https://github.com/mquinson/po4a/releases/download/v0.53/po4a-0.53.tar.gz" +MD5SUM="5f0728b762352edce650ad0165e6a173" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Unicode-LineBreak perl-Module-Build" +REQUIRES="perl-Unicode-LineBreak perl-Module-Build perl-YAML-Tiny" MAINTAINER="Didier Spaier" EMAIL="didier at slint dot fr" diff --git a/misc/po4a/slack-desc b/misc/po4a/slack-desc index 72d0020d1e..186dca00f6 100644 --- a/misc/po4a/slack-desc +++ b/misc/po4a/slack-desc @@ -12,8 +12,8 @@ po4a: po4a (PO for anything) eases translations and their maintenance, po4a: allowing gettext's usage on unexpected areas like documentation. po4a: po4a: In po4a each documentation format is handled by a module, that -po4a: converts this format to/from PO. Formats included in po4a-0.45 are: +po4a: converts this format to/from PO. Formats included in po4a-0.53 are: po4a: BibTex, Dia, Halibut, Kernelhelp, LaTeX, Man, POD, SGML, TeX, -po4a: Texinfo, Text, WML, XHTML, XML. +po4a: Texinfo, Text, WML, XHTML, XML, Yaml. po4a: po4a: |