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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:24:51 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:24:51
  Author: foutrelis
Revision: 405516

archrelease: copy trunk to community-staging-any

Added:
  wqy-microhei/repos/community-staging-any/
  wqy-microhei/repos/community-staging-any/44-wqy-microhei.conf
    (from rev 405515, wqy-microhei/trunk/44-wqy-microhei.conf)
  wqy-microhei/repos/community-staging-any/PKGBUILD
    (from rev 405515, wqy-microhei/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: wqy-microhei/repos/community-staging-any/44-wqy-microhei.conf (from rev 405515, wqy-microhei/trunk/44-wqy-microhei.conf)
===================================================================
(Binary files differ)

Copied: wqy-microhei/repos/community-staging-any/PKGBUILD (from rev 405515, wqy-microhei/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:24:51 UTC (rev 405516)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Philacorns <opuspace at gmail.com>
+
+pkgname=wqy-microhei
+pkgver=0.2.0_beta
+pkgrel=9
+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 .
+}



More information about the arch-commits mailing list