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

Felix Yan felixonmars at archlinux.org
Sun Apr 23 17:49:28 UTC 2017


    Date: Sunday, April 23, 2017 @ 17:49:26
  Author: felixonmars
Revision: 224635

archrelease: copy trunk to community-any

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

---------------------------+
 PKGBUILD                  |   50 ++++++++++++++++++++++----------------------
 wqy-microhei-lite.install |   21 ------------------
 2 files changed, 26 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-23 17:49:08 UTC (rev 224634)
+++ PKGBUILD	2017-04-23 17:49:26 UTC (rev 224635)
@@ -1,24 +0,0 @@
-# $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
-}

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

Deleted: wqy-microhei-lite.install
===================================================================
--- wqy-microhei-lite.install	2017-04-23 17:49:08 UTC (rev 224634)
+++ wqy-microhei-lite.install	2017-04-23 17:49:26 UTC (rev 224635)
@@ -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 -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