summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYangtse Su2019-04-28 21:52:02 +0800
committerYangtse Su2019-04-28 21:52:02 +0800
commit26f13ecf29e5b37594ce7bb30b5e1c767100999d (patch)
tree8575a227b7c7b5b079649eeac9c82e01e54f7a15
downloadaur-26f13ecf29e5b37594ce7bb30b5e1c767100999d.tar.gz
init release
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62731592c25
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = alibaba-puhuiti
+ pkgdesc = Alibaba PuHuiTi fonts
+ pkgver = 1.00
+ pkgrel = 1
+ url = https://alibabafont.taobao.com
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://aifont.oss-cn-beijing.aliyuncs.com/Alibaba%20PuHuiTi/Alibaba%20PuHuiTi_AlibabaSans.zip
+ sha512sums = 70da6a8c14c3c6ae42341828c9f7fe1c4fc1325256190092363c41b3d57502a653dc236b2f560bf8064490bc19b298494ceb878a02eda22d195079630b069f98
+
+pkgname = alibaba-puhuiti
+
+pkgname = alibaba-sans
+ pkgdesc = Alibaba Sans fonts
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b4fef021e2f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Yangtse Su <yangtsesu@gmail.com>
+
+pkgname=(alibaba-puhuiti alibaba-sans)
+pkgver=1.00
+pkgrel=1
+pkgdesc="Alibaba PuHuiTi fonts"
+arch=('any')
+license=('custom')
+url="https://alibabafont.taobao.com"
+depends=('fontconfig' 'xorg-font-utils')
+source=("http://aifont.oss-cn-beijing.aliyuncs.com/Alibaba%20PuHuiTi/Alibaba%20PuHuiTi_AlibabaSans.zip")
+sha512sums=('70da6a8c14c3c6ae42341828c9f7fe1c4fc1325256190092363c41b3d57502a653dc236b2f560bf8064490bc19b298494ceb878a02eda22d195079630b069f98')
+
+package_alibaba-puhuiti() {
+ install -dm755 "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+ install -Dm644 "$srcdir"/阿里巴巴普惠体\ +\ AlibabaSans/阿里巴巴普惠体/* "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+}
+
+package_alibaba-sans() {
+ pkgver=1.01
+ pkgdesc="Alibaba Sans fonts"
+
+ install -dm755 "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+ install -Dm644 "$srcdir"/阿里巴巴普惠体\ +\ AlibabaSans/AlibabaSans/AlibabaSans\ Nornal/* "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+ install -Dm644 "$srcdir"/阿里巴巴普惠体\ +\ AlibabaSans/AlibabaSans/AlibabaSans\ Nornal\ ltalics/* "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+}