aboutsummaryrefslogtreecommitdiff
path: root/system/gnu-unifont/gnu-unifont.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gnu-unifont/gnu-unifont.SlackBuild')
-rw-r--r--system/gnu-unifont/gnu-unifont.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/system/gnu-unifont/gnu-unifont.SlackBuild b/system/gnu-unifont/gnu-unifont.SlackBuild
index 4888a8b074b4e..f8e3a29224825 100644
--- a/system/gnu-unifont/gnu-unifont.SlackBuild
+++ b/system/gnu-unifont/gnu-unifont.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnu-unifont
-VERSION=${VERSION:-14.0.02}
+VERSION=${VERSION:-14.0.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,7 +48,7 @@ OUTPUT=${OUTPUT:-/tmp}
SRCNAM=unifont
DOCFILES="ChangeLog COPYING INSTALL NEWS README"
-FONTFORMATS=${FONTFORMATS:-ttf,pcf,psf,otb}
+FONTFORMATS=${FONTFORMATS:-otf,pcf,psf,otb}
contains()
{
@@ -81,6 +81,13 @@ if contains "$FONTFORMATS" "pcf"; then
FONTSCOPIED=1
fi
+if contains "$FONTFORMATS" "otf"; then
+ mkdir -p $PKG/usr/share/fonts/OTF
+ cp -a *.otf $PKG/usr/share/fonts/OTF
+
+ FONTSCOPIED=1
+fi
+
if contains "$FONTFORMATS" "ttf"; then
mkdir -p $PKG/usr/share/fonts/TTF
cp -a *.ttf $PKG/usr/share/fonts/TTF