1 # Maintaine: zlowly <zlowly@gmail.com>
2 pkgname=wqy-microhei-lite
5 pkgdesc="The "Light" face of WenQuanYi Micro Hei font family."
7 license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
8 install=${pkgname}.install
10 depends=('fontconfig' 'xorg-font-utils')
11 source=(https://sourceforge.net/projects/wqy/files/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz)
12 md5sums=('5b20c27e21ae4a838d3cbfe90ce1030f')
15 tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
16 mkdir -p $pkgdir/usr/share/fonts/wenquanyi/$pkgname/
17 mkdir -p $pkgdir/usr/share/licenses/$pkgname/
18 install -m644 *.ttc $pkgdir/usr/share/fonts/wenquanyi/$pkgname/ || return 1
19 install -m644 -D FONTEXCEPTION $pkgdir/usr/share/licenses/$pkgname/FONTEXCEPTION || return 1