[arch-commits] Commit in wqy-zenhei/trunk (PKGBUILD wqy-zenhei.install)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 19 09:51:52 UTC 2014
Date: Monday, May 19, 2014 @ 11:51:52
Author: spupykin
Revision: 111483
upgpkg: wqy-zenhei 0.9.45-4
upd
Modified:
wqy-zenhei/trunk/PKGBUILD
wqy-zenhei/trunk/wqy-zenhei.install
--------------------+
PKGBUILD | 2 +-
wqy-zenhei.install | 37 ++++++++++++++++++-------------------
2 files changed, 19 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-19 09:51:46 UTC (rev 111482)
+++ PKGBUILD 2014-05-19 09:51:52 UTC (rev 111483)
@@ -6,7 +6,7 @@
pkgname=wqy-zenhei
pkgver=0.9.45
-pkgrel=3
+pkgrel=4
pkgdesc="A Hei Ti Style (sans-serif) Chinese Outline Font."
arch=('any')
license=('GPL2' 'custom:"font embedding exception"')
Modified: wqy-zenhei.install
===================================================================
--- wqy-zenhei.install 2014-05-19 09:51:46 UTC (rev 111482)
+++ wqy-zenhei.install 2014-05-19 09:51:52 UTC (rev 111483)
@@ -1,30 +1,29 @@
post_install() {
- echo -n "Updating font cache... "
- mkfontscale /usr/share/fonts/wenquanyi/wqy-zenhei
- mkfontdir /usr/share/fonts/wenquanyi/wqy-zenhei
- fc-cache -f /usr/share/fonts/wenquanyi/wqy-zenhei > /dev/null
- echo "done."
- echo "wqy-zenhei post install message"
+ echo -n "Updating font cache... "
+ mkfontscale /usr/share/fonts/wenquanyi/wqy-zenhei
+ mkfontdir /usr/share/fonts/wenquanyi/wqy-zenhei
+ fc-cache -f /usr/share/fonts/wenquanyi/wqy-zenhei > /dev/null
+ echo "done."
+ echo "wqy-zenhei post install message"
cat <<EOF
-==> Special Note: By default, we disabled the embedded bitmaps,
- so that the characters will be displayed as Anti-aliased glyphs.
- For those who want to use bitmap font rendering (for 9pt-12pt),
- you can modify the enclosed 44-wqy-zenhei.conf and change the line
- <edit name=\"embeddedbitmap\"><bool>false</bool></edit>
- to
- <edit name=\"embeddedbitmap\"><bool>true</bool></edit>"
+==> Special Note: By default, we disabled the embedded bitmaps, so that the
+ characters will be displayed as anti-aliased glyphs. Those who want to
+ use bitmap font rendering (for 9pt-12pt) can do the following:
- Remove 44-wqy-zenhei.conf and 66-wqy-zenhei-sharp.conf symlinks
- from /etc/fonts/conf.d/ directory if you have problems with this
- package.
+cd /etc/fonts/conf.d
+rm 65-wqy-zenhei.conf
+ln -s ../conf.avail/43-wqy-zenhei-sharp.conf .
+
+ Remove the symlinks 43-wqy-zenhei-sharp.conf and 65-wqy-zenhei.conf from
+ /etc/fonts/conf.d if you have problems with this package.
EOF
}
post_upgrade() {
- post_install $1
+ post_install $1
}
post_remove() {
- rm -r /usr/share/fonts/wenquanyi/wqy-zenhei
- rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
+ rm -r /usr/share/fonts/wenquanyi/wqy-zenhei
+ rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
}
More information about the arch-commits
mailing list