diff options
author | Tomasz Bywalec <t.bywalec@gmail.com> | 2022-05-15 10:48:56 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-21 08:25:36 +0700 |
commit | 0fb858bd223422aa38de53c16a2644da8772f8b9 (patch) | |
tree | 33e9974016a2ab8cfa715f45031cfc9038a1fd76 /system/gnu-unifont/gnu-unifont.SlackBuild | |
parent | 94e59d4b2f2819cd6b6d755d0fcc40a724ad6d35 (diff) |
system/gnu-unifont: Updated for version 14.0.03.
Also, replaced TTF with OTF in default formats list (TTF is no longer
default, but still can be included in the package by adding this format
to the FONTFORMATS environment variable when running the script).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gnu-unifont/gnu-unifont.SlackBuild')
-rw-r--r-- | system/gnu-unifont/gnu-unifont.SlackBuild | 11 |
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 |