diff options
author | B. Watson <yalhcru@gmail.com> | 2017-09-21 14:22:28 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-09-23 16:34:55 +0100 |
commit | 594c8bee1720be18cdd560c8edb44d70997340e3 (patch) | |
tree | 6b361e50f96034f094c444cfa5b8f64b186886d3 /graphics/fbida/fbida.SlackBuild | |
parent | 38a4c9888097534cd8d67b6a0fb9f11f39607398 (diff) | |
download | slackbuilds-594c8bee1720be18cdd560c8edb44d70997340e3.tar.gz |
graphics/fbida: Updated for version 2.14, add fbipdf manpage.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/fbida/fbida.SlackBuild')
-rw-r--r-- | graphics/fbida/fbida.SlackBuild | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild index 5dd1af70f7..84c9d05406 100644 --- a/graphics/fbida/fbida.SlackBuild +++ b/graphics/fbida/fbida.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fbida -# (C) 2007 Michael Wagner <lapinours@web.de> +# (C) 2007 Michael Wagner <email removed> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by Luis Henrique <lmello.009@gmail.com> +# Modified by Luis Henrique <email removed> +# Modified and currently maintained by B. Watson <yalhcru@gmail.com> + +# 20170921 bkw: +# - update for v2.14 +# - remove old maintainers' email addresses +# - fix French man page stuff for new version, but allow old version +# to still build via VERSION=2.13 in env. +# - add man page for fbipdf. # 20170703 bkw: # - update for v2.13 @@ -40,11 +48,10 @@ # 20150508 bkw: update for v2.10 -# Modified again on 20140915 by B. Watson <yalhcru@gmail.com> -# - Took over maintenance, minor script cleanup +# 20140915 bkw: take over maintenance, minor script cleanup PRGNAM=fbida -VERSION=${VERSION:-2.13} +VERSION=${VERSION:-2.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -123,11 +130,20 @@ mv $PKG/usr/bin/fbpdf $PKG/usr/bin/fbipdf # converts it back to three periods as Bemer intended! mkdir -p $PKG/usr/man/fr/man1 for i in $FR_MAN; do - LANG=C sed 's,\xe2\x80\xa6,...,g' < $i.man.fr | \ + if [ -e $i.man.fr ]; then + M=$i.man.fr # v2.13 and older + else + M=man/fr/$i.1 # v2.14 and up + fi + LANG=C sed 's,\xe2\x80\xa6,...,g' < $M | \ iconv -c -f UTF-8 -t ISO-8859-1 | \ gzip -9c > $PKG/usr/man/fr/man1/$i.1.gz done +# fbpdf (fbipdf) doesn't have a man page, so I wrote one. English only, +# sorry, I no hablo Franco. +gzip -9c < $CWD/fbipdf.1 > $PKG/usr/man/man1/fbipdf.1.gz + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |