summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrLi2019-12-22 21:23:38 +0800
committerBrLi2019-12-22 21:23:38 +0800
commite7edd391af51ae72a00fd52d4f7542a1efcf4295 (patch)
treea9d9f17d9b44fc17c72dce1cae85bd73239b8d3e
parent5cc1ca664996652e6231920efff7ed0a5821ce9f (diff)
downloadaur-e7edd391af51ae72a00fd52d4f7542a1efcf4295.tar.gz
updpkg 20191211
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 298450e4abe8..5c527d21cfda 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ttf-twcns-fonts
pkgdesc = Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.
- pkgver = 20191129
+ pkgver = 20191211
pkgrel = 1
url = https://data.gov.tw/node/5961
arch = any
@@ -11,7 +11,7 @@ pkgbase = ttf-twcns-fonts
source = 53-twcns.conf
source = LICENSE-zh_TW
source = LICENSE
- sha1sums = c3bebe1c044861111a13a2b500bd4f92f82239c0
+ sha1sums = 3b451081937a5ffe6bb3356654fc58b23351e55a
sha1sums = e9a1bf83c957966941a1a3bb7e406169d47facde
sha1sums = 08c5ee06a2248340613d9bd7314a824883851bd1
sha1sums = 6be77081aa46e90e417ec73027e0477c3297a1c9
@@ -21,5 +21,6 @@ pkgname = ttf-twcns-fonts
depends = fontconfig
pkgname = ttf-twcns-fonts-doc
+ pkgdesc = Misc files including mapping table, property metadata and voice for ttf-twcns-fonts
options = docs
diff --git a/PKGBUILD b/PKGBUILD
index d23462d8f29b..7939704141d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: BrLi <brli@chakralinux.org>
pkgbase=ttf-twcns-fonts
-pkgname=("${pkgbase}" "${pkgbase}"-doc)
+pkgname=(${pkgbase}{,-doc})
pkgdesc='Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.'
-pkgver=20191129
+pkgver=20191211
pkgrel=1
arch=('any')
url='https://data.gov.tw/node/5961'
@@ -13,7 +13,7 @@ source=('https://www.cns11643.gov.tw/AIDB/Open_Data.zip'
'53-twcns.conf' # grab from older version of rpm
'LICENSE-zh_TW'
'LICENSE')
-sha1sums=('c3bebe1c044861111a13a2b500bd4f92f82239c0'
+sha1sums=('3b451081937a5ffe6bb3356654fc58b23351e55a'
'e9a1bf83c957966941a1a3bb7e406169d47facde'
'08c5ee06a2248340613d9bd7314a824883851bd1'
'6be77081aa46e90e417ec73027e0477c3297a1c9')
@@ -43,13 +43,15 @@ package_ttf-twcns-fonts() {
}
package_ttf-twcns-fonts-doc() {
+ pkgdesc='Misc files including mapping table, property metadata and voice for ttf-twcns-fonts'
options=('docs')
cd "${srcdir}"/Open_Data/
msg 'Installing the documents'
install -dm755 "${pkgdir}"/usr/share/doc/"${pkgbase}"/
- for dir in Fonts MapingTables Properties; do
+ for dir in Fonts MapingTables Properties Voice; do
cp -rv $dir "${pkgdir}"/usr/share/doc/"${pkgbase}"/
done
install -dm755 "${pkgdir}"/usr/share/licenses/
ln -sf /usr/share/licenses/"${pkgbase}" "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ install -Dm644 資料更新說明.txt "${pkgdir}"/usr/share/doc/"${pkgbase}"/changelog
}