summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62731592c25..b5d943f4883 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = alibaba-puhuiti
pkgdesc = Alibaba PuHuiTi fonts
pkgver = 1.00
- pkgrel = 1
+ pkgrel = 2
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
+ sha512sums = 6e0119b1a4d50128bbe6dfbe38c13fc3490651aa706ff7b7773248bcb931bfad8fbb752b7883621fbcd53f757425e624b8f6d293fa1aac1685ead9bba03aca12
pkgname = alibaba-puhuiti
diff --git a/PKGBUILD b/PKGBUILD
index b4fef021e2f..6461c630c81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,26 @@
pkgname=(alibaba-puhuiti alibaba-sans)
pkgver=1.00
-pkgrel=1
+pkgrel=2
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')
+sha512sums=('6e0119b1a4d50128bbe6dfbe38c13fc3490651aa706ff7b7773248bcb931bfad8fbb752b7883621fbcd53f757425e624b8f6d293fa1aac1685ead9bba03aca12')
package_alibaba-puhuiti() {
- install -dm755 "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
- install -Dm644 "$srcdir"/阿里巴巴普惠体\ +\ AlibabaSans/阿里巴巴普惠体/* "$pkgdir"/usr/share/fonts/alibaba/$pkgname/
+ cd '阿里巴巴普惠体(中西文完整版)'
+ install -dm755 "${pkgdir}/usr/share/fonts/alibaba/${pkgname}"
+ install -Dm644 阿里巴巴普惠体/*.otf "${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/
+ cd '阿里巴巴普惠体(中西文完整版)'
+ install -dm755 "${pkgdir}/usr/share/fonts/alibaba/${pkgname}"
+ install -Dm644 AlibabaSans/*/*.otf "${pkgdir}/usr/share/fonts/alibaba/${pkgname}"
}