aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorltlnx <ltlnx@disroot.org>2025-01-10 17:28:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-01-10 22:16:14 +0700
commit71e362b7a042ac342f4ccc837a89535a73e9d1e2 (patch)
treec4f9be7006c5c2c82ee8c1425a16041aecbabfcb
parent67fd9dac128dd5c94ef852d9822c2a3f25e7bf31 (diff)
system/CNS11643-sung-font: Updated for version 20241216.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/CNS11643-sung-font/CNS11643-sung-font.SlackBuild6
-rw-r--r--system/CNS11643-sung-font/CNS11643-sung-font.info4
-rw-r--r--system/CNS11643-sung-font/README7
3 files changed, 12 insertions, 5 deletions
diff --git a/system/CNS11643-sung-font/CNS11643-sung-font.SlackBuild b/system/CNS11643-sung-font/CNS11643-sung-font.SlackBuild
index 013e7ef9ec..cf158f336d 100644
--- a/system/CNS11643-sung-font/CNS11643-sung-font.SlackBuild
+++ b/system/CNS11643-sung-font/CNS11643-sung-font.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CNS11643-sung-font
-VERSION=${VERSION:-20240913}
+VERSION=${VERSION:-20241216}
SRCNAM=Fonts_Sung
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,7 +51,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/$SRCNAM.zip "$SRCNAM/*.ttf"
+unzip $CWD/$SRCNAM.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -60,7 +60,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/fonts/TTF
-cp -a $SRCNAM/*.ttf $PKG/usr/share/fonts/TTF
+cp -a *.ttf $PKG/usr/share/fonts/TTF
# Create a font config file and symlink it into /etc/fonts/conf.d.
# Do this only if the user explicitly asks for it.
diff --git a/system/CNS11643-sung-font/CNS11643-sung-font.info b/system/CNS11643-sung-font/CNS11643-sung-font.info
index e76fa674e0..1a093dad3d 100644
--- a/system/CNS11643-sung-font/CNS11643-sung-font.info
+++ b/system/CNS11643-sung-font/CNS11643-sung-font.info
@@ -1,8 +1,8 @@
PRGNAM="CNS11643-sung-font"
-VERSION="20240913"
+VERSION="20241216"
HOMEPAGE="http://www.cns11643.gov.tw/"
DOWNLOAD="https://www.cns11643.gov.tw/opendata/Fonts_Sung.zip"
-MD5SUM="678620afc186ddcfe098a42191f83141"
+MD5SUM="10a2725fd5cd27c6855492222036943e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/CNS11643-sung-font/README b/system/CNS11643-sung-font/README
index 8b173ac14d..22a0800c7f 100644
--- a/system/CNS11643-sung-font/README
+++ b/system/CNS11643-sung-font/README
@@ -1,6 +1,13 @@
This package contains the TW-Sung font, provided by CNS11643 Chinese
Standard Interchange Code Master Ideographs from Taiwan.
+If you use a SlackBuild manager that checks the MD5 sum of sources,
+it migt fail if there are new versions available upstream. There
+is no way for the package maintainer (that's me) to download specific
+versions of the source, so if it fails, simply proceed and the package
+will still get built (hopefully). I'll update the version number and
+the MD5 sum when I have time.
+
A config file is included, 35-CNS11643-sung-font.conf, which binds the
Windows counterparts "MingLiU" (細明體) and "PMingLiU" (新細明體)
to TW-Sung. If you want it copied into /etc/fonts/conf.avail, add the