[arch-commits] Commit in wqy-microhei/repos/community-any (5 files)
Felix Yan
felixonmars at archlinux.org
Sun Apr 23 17:47:53 UTC 2017
Date: Sunday, April 23, 2017 @ 17:47:52
Author: felixonmars
Revision: 224633
archrelease: copy trunk to community-any
Added:
wqy-microhei/repos/community-any/44-wqy-microhei.conf
(from rev 224632, wqy-microhei/trunk/44-wqy-microhei.conf)
wqy-microhei/repos/community-any/PKGBUILD
(from rev 224632, wqy-microhei/trunk/PKGBUILD)
Deleted:
wqy-microhei/repos/community-any/44-wqy-microhei.conf
wqy-microhei/repos/community-any/PKGBUILD
wqy-microhei/repos/community-any/wqy-microhei.install
----------------------+
PKGBUILD | 60 ++++++++++++++++++++++++-------------------------
wqy-microhei.install | 21 -----------------
2 files changed, 30 insertions(+), 51 deletions(-)
Deleted: 44-wqy-microhei.conf
===================================================================
(Binary files differ)
Copied: wqy-microhei/repos/community-any/44-wqy-microhei.conf (from rev 224632, wqy-microhei/trunk/44-wqy-microhei.conf)
===================================================================
(Binary files differ)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-23 17:47:34 UTC (rev 224632)
+++ PKGBUILD 2017-04-23 17:47:52 UTC (rev 224633)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Philacorns <opuspace at gmail.com>
-
-pkgname=wqy-microhei
-pkgver=0.2.0_beta
-pkgrel=7
-pkgdesc="A Sans-Serif style high quality CJK outline font"
-arch=('any')
-license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
-install=wqy-microhei.install
-url="http://wenq.org"
-depends=('fontconfig' 'xorg-font-utils')
-source=("http://downloads.sourceforge.net/project/wqy/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz"
- '44-wqy-microhei.conf')
-md5sums=('a124c5c6606f4f3b733d3477380e9d2f'
- '2614129902fda4e45aa7f0f7b635cc4f')
-build() {
- cd "$srcdir/$pkgname"
- tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
-}
-
-package() {
- install -d "$pkgdir/etc/fonts/conf.d/"
- install -Dm644 "$srcdir/44-wqy-microhei.conf" "$pkgdir/etc/fonts/conf.avail/44-wqy-microhei.conf"
- install -Dm644 "$srcdir/$pkgname/wqy-microhei.ttc" "$pkgdir/usr/share/fonts/wenquanyi/$pkgname/wqy-microhei.ttc"
- install -Dm644 "$srcdir/$pkgname/FONTEXCEPTION" "$pkgdir/usr/share/licenses/$pkgname/FONTEXCEPTION"
- cd "$pkgdir/etc/fonts/conf.d/"
- ln -s ../conf.avail/44-wqy-microhei.conf .
-}
Copied: wqy-microhei/repos/community-any/PKGBUILD (from rev 224632, wqy-microhei/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-23 17:47:52 UTC (rev 224633)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Philacorns <opuspace at gmail.com>
+
+pkgname=wqy-microhei
+pkgver=0.2.0_beta
+pkgrel=8
+pkgdesc="A Sans-Serif style high quality CJK outline font"
+arch=('any')
+license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
+url="http://wenq.org"
+depends=('fontconfig' 'xorg-font-utils')
+source=("http://downloads.sourceforge.net/project/wqy/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz"
+ '44-wqy-microhei.conf')
+sha512sums=('c1e09c83f6427f637b3c93c7f89e427bde7fb22cedcfbb806fb036f13a553551f28d985516c7ab4c2602b4159502de36b52e6cc9b41c9b6d6e36778a6de74037'
+ 'e443a5289b24ab1c405b3f1b5548f18bf1a63c54796e2e072c996680326de333ce2fb8d97aa41dbd5ac2cab99af1105e6c1a0f19313f832aa43ec4d6939f8b9e')
+
+build() {
+ cd $pkgname
+ tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
+}
+
+package() {
+ install -d "$pkgdir"/etc/fonts/conf.d/
+ install -Dm644 "$srcdir"/44-wqy-microhei.conf "$pkgdir"/etc/fonts/conf.avail/44-wqy-microhei.conf
+ install -Dm644 "$srcdir"/$pkgname/wqy-microhei.ttc "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname/wqy-microhei.ttc
+ install -Dm644 "$srcdir"/$pkgname/FONTEXCEPTION "$pkgdir"/usr/share/licenses/$pkgname/FONTEXCEPTION
+ cd "$pkgdir"/etc/fonts/conf.d/
+ ln -s ../conf.avail/44-wqy-microhei.conf .
+}
Deleted: wqy-microhei.install
===================================================================
--- wqy-microhei.install 2017-04-23 17:47:34 UTC (rev 224632)
+++ wqy-microhei.install 2017-04-23 17:47:52 UTC (rev 224633)
@@ -1,21 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- mkfontscale /usr/share/fonts/wenquanyi/wqy-microhei
- mkfontdir /usr/share/fonts/wenquanyi/wqy-microhei
- fc-cache -s /usr/share/fonts/wenquanyi/wqy-microhei
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- rm -r /usr/share/fonts/wenquanyi/wqy-microhei
- rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
-}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list