New package: wqy-microhei-0.2.0_beta
This commit is contained in:
parent
53f35b16a4
commit
d0f3c0fe0e
2 changed files with 32 additions and 0 deletions
10
srcpkgs/wqy-microhei/INSTALL
Normal file
10
srcpkgs/wqy-microhei/INSTALL
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#
|
||||||
|
# This script builds fontconfig's fonts cache.
|
||||||
|
#
|
||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
echo "Building fonts cache... "
|
||||||
|
fc-cache -fs >/dev/null
|
||||||
|
echo "done."
|
||||||
|
;;
|
||||||
|
esac
|
22
srcpkgs/wqy-microhei/template
Normal file
22
srcpkgs/wqy-microhei/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'dejavu-fonts-ttf'
|
||||||
|
pkgname=wqy-microhei
|
||||||
|
version=0.2.0_beta
|
||||||
|
revision=1
|
||||||
|
short_desc="A Sans-Serif style high quality CJK outline font"
|
||||||
|
maintainer="rtlanceroad <rtlanceroad@gmail.com>"
|
||||||
|
homepage="http://wenq.org"
|
||||||
|
license="GPL-3, APACHE"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/wqy/$pkgname/${version//_/-}/$pkgname-${version//_/-}.tar.gz"
|
||||||
|
checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e
|
||||||
|
wrksrc=$pkgname
|
||||||
|
|
||||||
|
depends="font-util fontconfig xbps-triggers>=0.58"
|
||||||
|
noarch="yes"
|
||||||
|
font_dirs="/usr/share/fonts/TTF"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/fonts/TTF
|
||||||
|
install -m644 *.ttc ${DESTDIR}/usr/share/fonts/TTF
|
||||||
|
vmkdir usr/share/licenses/$pkgname
|
||||||
|
install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue