summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorC.T Liu2020-07-04 07:39:01 +0000
committerC.T Liu2020-07-04 07:39:01 +0000
commita5d613e6120f32e621eb1c09a980b1b57d983673 (patch)
tree03b47fdd29ad8eb5e1d3ff591e708b4e9430ceff
parent34ba5646f5b164bbe25ab0f451d99fde5dab93f3 (diff)
downloadaur-a5d613e6120f32e621eb1c09a980b1b57d983673.tar.gz
updpkg
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83814f568c01..80ce62a36a6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = ttf-twcns-fonts
pkgdesc = Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.
pkgver = 20200513
- pkgrel = 2
+ pkgrel = 3
url = https://data.gov.tw/node/5961
arch = any
license = custom
makedepends = dos2unix
makedepends = convmv
+ makedepends = wget
source = https://www.cns11643.gov.tw/AIDB/Open_Data.zip
source = 53-twcns.conf
source = LICENSE-zh_TW
diff --git a/PKGBUILD b/PKGBUILD
index 1ae92b2adad1..d8d66a0a3e10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,11 +4,11 @@ pkgbase=ttf-twcns-fonts
pkgname=(${pkgbase}{,-doc})
pkgdesc='Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.'
pkgver=20200513
-pkgrel=2
+pkgrel=3
arch=('any')
url='https://data.gov.tw/node/5961'
license=('custom')
-makedepends=(dos2unix convmv)
+makedepends=(dos2unix convmv wget)
source=('https://www.cns11643.gov.tw/AIDB/Open_Data.zip'
'53-twcns.conf' # grab from older version of rpm
'LICENSE-zh_TW'
@@ -17,8 +17,8 @@ sha1sums=('c497949d109af23517afa1094a99bc416028978b'
'e9a1bf83c957966941a1a3bb7e406169d47facde'
'08c5ee06a2248340613d9bd7314a824883851bd1'
'6be77081aa46e90e417ec73027e0477c3297a1c9')
-#DLAGENTS=('/usr/bin/curl -gqb "" -fLC - --retry 999 -o %o %u') # not tested yet
-DLAGENTS=('/usr/bin/wget -N -nc -c -O %o %u')
+#DLAGENTS=('https::/usr/bin/curl -gqb "" -fLC - --retry 999 -o %o %u') # not tested yet
+DLAGENTS=('https::/usr/bin/wget -nv --progress=bar -N -c -O %o %u')
prepare() {
cd "${srcdir}"/Open_Data/
@@ -54,5 +54,5 @@ package_ttf-twcns-fonts-doc() {
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
+ install -Dm644 '資料更新說明.txt' "${pkgdir}"/usr/share/doc/"${pkgbase}"/changelog
}