[arch-commits] Commit in wqy-microhei-lite/repos/community-any (4 files)

Felix Yan fyan at archlinux.org
Tue Jan 6 06:43:25 UTC 2015


    Date: Tuesday, January 6, 2015 @ 07:43:25
  Author: fyan
Revision: 125514

archrelease: copy trunk to community-any

Added:
  wqy-microhei-lite/repos/community-any/PKGBUILD
    (from rev 125513, wqy-microhei-lite/trunk/PKGBUILD)
  wqy-microhei-lite/repos/community-any/wqy-microhei-lite.install
    (from rev 125513, wqy-microhei-lite/trunk/wqy-microhei-lite.install)
Deleted:
  wqy-microhei-lite/repos/community-any/PKGBUILD
  wqy-microhei-lite/repos/community-any/wqy-microhei-lite.install

---------------------------+
 PKGBUILD                  |   48 ++++++++++++++++++++++----------------------
 wqy-microhei-lite.install |   42 +++++++++++++++++++-------------------
 2 files changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-06 06:43:07 UTC (rev 125513)
+++ PKGBUILD	2015-01-06 06:43:25 UTC (rev 125514)
@@ -1,24 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: zlowly <zlowly at gmail.com>
-
-pkgname=wqy-microhei-lite
-pkgver=0.2.0_beta
-pkgrel=6
-pkgdesc='The "Light" face of WenQuanYi Micro Hei font family'
-arch=('any')
-license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
-install=${pkgname}.install
-url="http://wenq.org"
-depends=('fontconfig' 'xorg-font-utils')
-source=("https://sourceforge.net/projects/wqy/files/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz")
-md5sums=('5b20c27e21ae4a838d3cbfe90ce1030f')
-
-package() {
-  cd "$srcdir/$pkgname"
-  tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
-  install -d "$pkgdir/usr/share/fonts/wenquanyi/$pkgname/"
-  install -d "$pkgdir/usr/share/licenses/$pkgname/"
-  install -m644 *.ttc "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname/
-  install -m644 -D FONTEXCEPTION "$pkgdir"/usr/share/licenses/$pkgname/FONTEXCEPTION
-}

Copied: wqy-microhei-lite/repos/community-any/PKGBUILD (from rev 125513, wqy-microhei-lite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-01-06 06:43:25 UTC (rev 125514)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: zlowly <zlowly at gmail.com>
+
+pkgname=wqy-microhei-lite
+pkgver=0.2.0_beta
+pkgrel=7
+pkgdesc='The "Light" face of WenQuanYi Micro Hei font family'
+arch=('any')
+license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
+install=${pkgname}.install
+url="http://wenq.org"
+depends=('fontconfig' 'xorg-font-utils')
+source=("https://sourceforge.net/projects/wqy/files/$pkgname/${pkgver//_/-}/$pkgname-${pkgver//_/-}.tar.gz")
+md5sums=('5b20c27e21ae4a838d3cbfe90ce1030f')
+
+package() {
+  cd "$srcdir/$pkgname"
+  tail README.txt --lines=16|head --lines=-3>| FONTEXCEPTION
+  install -d "$pkgdir/usr/share/fonts/wenquanyi/$pkgname/"
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
+  install -m644 *.ttc "$pkgdir"/usr/share/fonts/wenquanyi/$pkgname/
+  install -m644 -D FONTEXCEPTION "$pkgdir"/usr/share/licenses/$pkgname/FONTEXCEPTION
+}

Deleted: wqy-microhei-lite.install
===================================================================
--- wqy-microhei-lite.install	2015-01-06 06:43:07 UTC (rev 125513)
+++ wqy-microhei-lite.install	2015-01-06 06:43:25 UTC (rev 125514)
@@ -1,21 +0,0 @@
-post_install() {
-	echo -n "Updating font cache... "
-	mkfontscale /usr/share/fonts/wenquanyi/wqy-microhei-lite
-	mkfontdir /usr/share/fonts/wenquanyi/wqy-microhei-lite
-	fc-cache -f /usr/share/fonts/wenquanyi/wqy-microhei-lite > /dev/null
-	echo "done."
-}
-
-post_upgrade() {
-	post_install $1
-}
-
-post_remove() {
-	rm -r /usr/share/fonts/wenquanyi/wqy-microhei-lite
-	rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
-}
-
-op=$1
-shift
-
-$op $*

Copied: wqy-microhei-lite/repos/community-any/wqy-microhei-lite.install (from rev 125513, wqy-microhei-lite/trunk/wqy-microhei-lite.install)
===================================================================
--- wqy-microhei-lite.install	                        (rev 0)
+++ wqy-microhei-lite.install	2015-01-06 06:43:25 UTC (rev 125514)
@@ -0,0 +1,21 @@
+post_install() {
+	echo -n "Updating font cache... "
+	mkfontscale /usr/share/fonts/wenquanyi/wqy-microhei-lite
+	mkfontdir /usr/share/fonts/wenquanyi/wqy-microhei-lite
+	fc-cache -s /usr/share/fonts/wenquanyi/wqy-microhei-lite
+	echo "done."
+}
+
+post_upgrade() {
+	post_install $1
+}
+
+post_remove() {
+	rm -r /usr/share/fonts/wenquanyi/wqy-microhei-lite
+	rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
+}
+
+op=$1
+shift
+
+$op $*



More information about the arch-commits mailing list