summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYutsing Kuh2023-11-12 11:50:18 +0800
committerYutsing Kuh2023-11-12 12:04:55 +0800
commit90fb8b55bc70fe28eecce6b347fa8dbe75d228ca (patch)
treeff59198dfaf417639526aabe7f6968557ea1860d
parentff39b8c91e57561bb9786e6b2e139baf8019afda (diff)
downloadaur-90fb8b55bc70fe28eecce6b347fa8dbe75d228ca.tar.gz
Improve format: Add build instructions; modify url; polishup font list comments
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD48
2 files changed, 42 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03d8367889f8..6d551de595d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,24 @@
pkgbase = ttf-ms-win11-fod-zh_cn
pkgver = 10.0.22631.2506
pkgrel = 1
- url = https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list
+ url = https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list#chinese-simplified-supplemental-fonts
arch = any
license = custom
- conflicts = ttf-vista-fonts
+ conflicts = ttf-ms-win10-fod-zh_cn
+ conflicts = ttf-ms-win11-fod
+ source = file://Dengl.ttf
+ source = file://Deng.ttf
+ source = file://Dengb.ttf
source = file://simfang.ttf
source = file://simkai.ttf
source = file://simhei.ttf
- source = file://Deng.ttf
- source = file://Dengb.ttf
- source = file://Dengl.ttf
source = file://license.rtf
+ sha256sums = a950894abb1ceb1be0d9460b26e5a6167cafc3fc3330eab7f6b21db8b96cd080
+ sha256sums = fd46a547002d330f48855408609eb47c22a8c269fe01e3d183e7ca98397bde77
+ sha256sums = be80e1246047a6489a2573c6426519c7cfe0d08c1669dd81c43bb67d39482a19
sha256sums = 3e2d44b01c9a248a61bedae4f15c8aae501328b1f7adfe6e111a5da5aa5c5104
sha256sums = 9dd76f7ab430edd091db24c3f18e71410325c1414141aad5fe67947873ffba06
sha256sums = aa4560dd8fe5645745fed3ffa301c3ca4d6c03cbd738145b613303961ba733b8
- sha256sums = fd46a547002d330f48855408609eb47c22a8c269fe01e3d183e7ca98397bde77
- sha256sums = be80e1246047a6489a2573c6426519c7cfe0d08c1669dd81c43bb67d39482a19
- sha256sums = a950894abb1ceb1be0d9460b26e5a6167cafc3fc3330eab7f6b21db8b96cd080
sha256sums = SKIP
pkgname = ttf-ms-win11-fod-zh_cn
diff --git a/PKGBUILD b/PKGBUILD
index b6109e173841..9d0140372184 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,40 @@
# Maintainer: Yutsing Kuh <yutsing@outlook.com>
+# BUILD INSTRUCTIONS:
+# -------------------
+#
+# Please note, that usage of Microsoft fonts outside running Windows
+# system is prohibited by EULA (although in certain countries EULA is invalid).
+# Please consult Microsoft license before using fonts.
+#
+# You can acquire fonts from an installed and up-to-date Windows 11
+# system with corrosponding language pack installed.
+#
+# On the installed Windows system fonts are usually located in
+# C:\Windows\Fonts
+# and license file is
+# C:\Windows\System32\Licenses\neutral\_Default\Core\license.rtf
+# You need all files listed in the _ttf_ms_win10_fod_zh_cn arrays.Place them in the
+# same directory as this PKGBUILD file, then run makepkg.
+
pkgname=ttf-ms-win11-fod-zh_cn
pkgver=10.0.22631.2506
-pkgrel=1
+pkgrel=2
arch=(any)
-url='https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list'
+url='https://learn.microsoft.com/en-us/typography/fonts/windows_11_font_list#chinese-simplified-supplemental-fonts'
license=(custom)
-conflicts=(ttf-vista-fonts)
+conflicts=(ttf-ms-win10-fod-zh_cn ttf-ms-win11-fod)
_ttf_ms_win11_fod_zh_cn=(
-#########################################################################################
-# Normal Bold Italic Bold+Italic # Full name #
-#########################################################################################
-simfang.ttf # FangSong
-simkai.ttf # KaiTi
-simhei.ttf # SimHei
-Deng.ttf Dengb.ttf # DengXian
-Dengl.ttf # DengXian Light
+#########################################################
+# Filename # Family Font name Version #
+#########################################################
+Dengl.ttf # DengXian DengXian Light 1.18
+Deng.ttf # DengXian 1.18
+Dengb.ttf # DengXian Bold 1.18
+simfang.ttf # FangSong FangSong 5.01
+simkai.ttf # KaiTi KaiTi 5.01
+simhei.ttf # SimHei SimHei 5.03
)
DLAGENTS=("file::/usr/bin/echo ${BOLD}${RED} Unable to find %u, please read the PKGBUILD ${ALL_OFF}" $DLAGENTS[@])
@@ -24,12 +42,12 @@ DLAGENTS=("file::/usr/bin/echo ${BOLD}${RED} Unable to find %u, please read the
source=(${_ttf_ms_win11_fod_zh_cn[@]/#/file://}
file://license.rtf)
-sha256sums=('3e2d44b01c9a248a61bedae4f15c8aae501328b1f7adfe6e111a5da5aa5c5104'
- '9dd76f7ab430edd091db24c3f18e71410325c1414141aad5fe67947873ffba06'
- 'aa4560dd8fe5645745fed3ffa301c3ca4d6c03cbd738145b613303961ba733b8'
+sha256sums=('a950894abb1ceb1be0d9460b26e5a6167cafc3fc3330eab7f6b21db8b96cd080'
'fd46a547002d330f48855408609eb47c22a8c269fe01e3d183e7ca98397bde77'
'be80e1246047a6489a2573c6426519c7cfe0d08c1669dd81c43bb67d39482a19'
- 'a950894abb1ceb1be0d9460b26e5a6167cafc3fc3330eab7f6b21db8b96cd080'
+ '3e2d44b01c9a248a61bedae4f15c8aae501328b1f7adfe6e111a5da5aa5c5104'
+ '9dd76f7ab430edd091db24c3f18e71410325c1414141aad5fe67947873ffba06'
+ 'aa4560dd8fe5645745fed3ffa301c3ca4d6c03cbd738145b613303961ba733b8'
'SKIP')
_package() {