[arch-commits] Commit in wqy-zenhei/trunk (PKGBUILD wqy-zenhei.install)
Sergej Pupykin
spupykin at archlinux.org
Mon Jan 23 17:21:10 UTC 2017
Date: Monday, January 23, 2017 @ 17:21:10
Author: spupykin
Revision: 208617
upgpkg: wqy-zenhei 0.9.45-6
upd
Modified:
wqy-zenhei/trunk/PKGBUILD
wqy-zenhei/trunk/wqy-zenhei.install
--------------------+
PKGBUILD | 2 +-
wqy-zenhei.install | 14 --------------
2 files changed, 1 insertion(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-23 17:21:02 UTC (rev 208616)
+++ PKGBUILD 2017-01-23 17:21:10 UTC (rev 208617)
@@ -6,7 +6,7 @@
pkgname=wqy-zenhei
pkgver=0.9.45
-pkgrel=5
+pkgrel=6
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 2017-01-23 17:21:02 UTC (rev 208616)
+++ wqy-zenhei.install 2017-01-23 17:21:10 UTC (rev 208617)
@@ -1,9 +1,4 @@
post_install() {
- echo -n "Updating font cache... "
- mkfontscale /usr/share/fonts/wenquanyi/wqy-zenhei
- mkfontdir /usr/share/fonts/wenquanyi/wqy-zenhei
- fc-cache -s /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
@@ -18,12 +13,3 @@
/etc/fonts/conf.d if you have problems with this package.
EOF
}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- 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