summaryrefslogtreecommitdiff
path: root/source/ap/terminus-font
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/terminus-font')
-rwxr-xr-xsource/ap/terminus-font/terminus-font.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/ap/terminus-font/terminus-font.SlackBuild b/source/ap/terminus-font/terminus-font.SlackBuild
index 71ecf3b1..6c100d00 100755
--- a/source/ap/terminus-font/terminus-font.SlackBuild
+++ b/source/ap/terminus-font/terminus-font.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=terminus-font
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -80,6 +80,13 @@ find . \
make || exit 1
make install install-pcf-8bit install-psf-ref install-psf-vgaw DESTDIR=$PKG || exit 1
+# Install also the otb version (supported by the newer pango)
+mkdir -p $PKG/usr/share/fonts/misc
+for i in 12 14 16 18 20 22 24 26 28 32; do
+ fonttosfnt -o $PKG/usr/share/fonts/misc/ter-u${i}b.otb ter-u${i}b.pcf
+ fonttosfnt -o $PKG/usr/share/fonts/misc/ter-u${i}n.otb ter-u${i}n.pcf
+done
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
AUTHORS CHANGES COPYING* INSTALL NEWS OFL.TXT README* \