1 # Maintainer: Philacorns <opuspace@gmail.com>
6 pkgdesc="A Sans-Serif style high quality CJK outline font."
8 license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
9 install=wqy-microhei.install
11 depends=('fontconfig' 'xorg-font-utils')
12 source=(http://downloads.sourceforge.net/project/wqy/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz
13 '44-wqy-microhei.conf')
14 md5sums=('a124c5c6606f4f3b733d3477380e9d2f'
15 'ab808b1aeac032f505837bd3ab653c1e')
18 tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
19 mkdir -p $pkgdir/usr/share/fonts/wenquanyi/$pkgname/
20 mkdir -p $pkgdir/usr/share/licenses/$pkgname/
21 mkdir -p $pkgdir/etc/fonts/conf.avail/
22 mkdir -p $pkgdir/etc/fonts/conf.d/
23 install -m644 $srcdir/*.conf $pkgdir/etc/fonts/conf.avail/ || return 1
24 install -m644 *.ttc $pkgdir/usr/share/fonts/wenquanyi/$pkgname/ || return 1
25 install -m644 -D FONTEXCEPTION $pkgdir/usr/share/licenses/$pkgname/FONTEXCEPTION || return 1
26 cd $pkgdir/etc/fonts/conf.d/
27 ln -s ../conf.avail/44-wqy-microhei.conf .