summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCCHsu <a12321aabb@gmail.com>2018-01-20 12:56:46 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-01-20 12:56:46 +0000
commit97db8f9df794575e1af776ef6abebb4d27b884ec (patch)
treec9436bfbfba5864108a0b2086207dd77bcd40f8e
parent8f3b25fd70272cd6917462d0771119811c44c220 (diff)
downloadslackbuilds-97db8f9df794575e1af776ef6abebb4d27b884ec.tar.gz
system/CNS11643-font: Updated for version 20180105.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/CNS11643-font/35-CNS11643-font.conf10
-rw-r--r--system/CNS11643-font/CNS11643-font.SlackBuild6
-rw-r--r--system/CNS11643-font/CNS11643-font.info4
-rw-r--r--system/CNS11643-font/README2
-rw-r--r--system/CNS11643-font/doinst.sh1
5 files changed, 11 insertions, 12 deletions
diff --git a/system/CNS11643-font/35-CNS11643-font.conf b/system/CNS11643-font/35-CNS11643-font.conf
index 9a7c7ddea6..6122b22e10 100644
--- a/system/CNS11643-font/35-CNS11643-font.conf
+++ b/system/CNS11643-font/35-CNS11643-font.conf
@@ -56,7 +56,7 @@
<string>DejaVu Sans Light</string>
</edit>
</match>
- <alias>
+ <alias binding="strong">
<family>TW-Sung</family>
<prefer>
<family>DejaVu Serif:book</family>
@@ -67,17 +67,17 @@
<family>TW-Sung-Ext-B</family>
</prefer>
</alias>
- <alias>
+ <alias binding="strong">
<family>TW-Kai</family>
<prefer>
- <family>DejaVu Sans Light:book</family>
+ <family>DejaVu Sans:book</family>
<family>Bitstream Vera Sans</family>
<family>TW-Kai</family>
<family>TW-Kai-Plus</family>
<family>TW-Kai-Ext-B</family>
</prefer>
</alias>
- <alias>
+ <alias binding="strong">
<family>serif</family>
<prefer>
<family>DejaVu Serif:book</family>
@@ -88,7 +88,7 @@
<family>TW-Sung-Ext-B</family>
</prefer>
</alias>
- <alias>
+ <alias binding="strong">
<family>sans</family>
<prefer>
<family>DejaVu Sans Light:book</family>
diff --git a/system/CNS11643-font/CNS11643-font.SlackBuild b/system/CNS11643-font/CNS11643-font.SlackBuild
index 8962398bcf..15934eff03 100644
--- a/system/CNS11643-font/CNS11643-font.SlackBuild
+++ b/system/CNS11643-font/CNS11643-font.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CNS11643-font
-# Copyright 2014 CCHsu, Taiwan
+# Copyright 2018 CCHsu, Taiwan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=CNS11643-font
-VERSION=${VERSION:-20140607}
+VERSION=${VERSION:-20180105}
SRCNAM=Open_Data
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/system/CNS11643-font/CNS11643-font.info b/system/CNS11643-font/CNS11643-font.info
index d6233ab9c4..b5d362ee12 100644
--- a/system/CNS11643-font/CNS11643-font.info
+++ b/system/CNS11643-font/CNS11643-font.info
@@ -1,8 +1,8 @@
PRGNAM="CNS11643-font"
-VERSION="20140607"
+VERSION="20180105"
HOMEPAGE="http://www.cns11643.gov.tw/"
DOWNLOAD="http://www.cns11643.gov.tw/AIDB/Open_Data.zip"
-MD5SUM="98ea3db40969b2c52891a7a0fa679086"
+MD5SUM="2d30f001ffd8fd014201b21486fe158e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/CNS11643-font/README b/system/CNS11643-font/README
index 41daa928ff..71352aaf8b 100644
--- a/system/CNS11643-font/README
+++ b/system/CNS11643-font/README
@@ -10,4 +10,4 @@ if you like.
The source file can be found at "http://data.gov.tw/node/5961", and the
license can be found at "http://www.cns11643.gov.tw/AIDB/copyright.do".
Note that the license is CC BY-ND ("http://www.cns11643.gov.tw/AIDB/
-news_view.do?sn=bv"). \ No newline at end of file
+news_view.do?sn=bv").
diff --git a/system/CNS11643-font/doinst.sh b/system/CNS11643-font/doinst.sh
index 8fec9f5340..883c47ac0a 100644
--- a/system/CNS11643-font/doinst.sh
+++ b/system/CNS11643-font/doinst.sh
@@ -5,7 +5,6 @@ if [ -x /usr/bin/mkfontdir ]; then
mkfontdir .
)
fi
-
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi