summaryrefslogtreecommitdiffstats
path: root/graphics/fbida/fbida.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fbida/fbida.SlackBuild')
-rw-r--r--graphics/fbida/fbida.SlackBuild28
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