blob: 644b599fb7c4b1620da7435a71e679152022278e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: taotieren <admin@taotieren.com>
pkgbase=ttf-lxgw-wenkai-lite
pkgname=(ttf-lxgw-wenkai-lite ttf-lxgw-wenkai-mono-lite)
pkgver=1.330
pkgrel=0
url="https://github.com/lxgw/LxgwWenKai-Lite"
makedepends=('fontconfig')
license=("OFL-1.1")
arch=(any)
source=(
"lxgw-wenkai-lite-v$pkgver.tar.gz::${url}/releases/download/v$pkgver/lxgw-wenkai-lite-v$pkgver.tar.gz"
)
sha256sums=('28bd4474d6ba78bb5a1ff1c8ca8b116fd92aa5236d3bc48172f30ee3884b0cfd')
package_ttf-lxgw-wenkai-lite() {
pkgdesc="LXGW WenKai Lite / 霞鹜文楷轻便版 An open-source Chinese font derived from Fontworks' Klee One. 一款基于 FONTWORKS 出品字体 Klee One 改造的开源中文字体。"
install -d "$pkgdir/usr/share/fonts/TTF"
cd ${srcdir}/lxgw-wenkai-lite-v$pkgver
install -m644 LXGWWenKaiLite-Bold.ttf "$pkgdir/usr/share/fonts/TTF/"
install -m644 LXGWWenKaiLite-Light.ttf "$pkgdir/usr/share/fonts/TTF/"
install -m644 LXGWWenKaiLite-Regular.ttf "$pkgdir/usr/share/fonts/TTF/"
}
package_ttf-lxgw-wenkai-mono-lite(){
pkgdesc="LXGW WenKai Mono Lite / 霞鹜文楷等宽轻便版 An open-source Chinese font derived from Fontworks' Klee One. 一款基于 FONTWORKS 出品字体 Klee One 改造的开源中文字体。"
install -d "$pkgdir/usr/share/fonts/TTF"
cd ${srcdir}/lxgw-wenkai-lite-v$pkgver
install -m644 LXGWWenKaiMonoLite-Bold.ttf "$pkgdir/usr/share/fonts/TTF/"
install -m644 LXGWWenKaiMonoLite-Light.ttf "$pkgdir/usr/share/fonts/TTF/"
install -m644 LXGWWenKaiMonoLite-Regular.ttf "$pkgdir/usr/share/fonts/TTF/"
}
# vim: ts=4 sw=4 et
|