[arch-commits] Commit in wqy-microhei/repos (3 files)
Jan Steffens
heftig at archlinux.org
Sun Mar 28 21:19:03 UTC 2021
Date: Sunday, March 28, 2021 @ 21:19:03
Author: heftig
Revision: 907935
archrelease: copy trunk to community-testing-any
Added:
wqy-microhei/repos/community-testing-any/
wqy-microhei/repos/community-testing-any/44-wqy-microhei.conf
(from rev 907933, wqy-microhei/trunk/44-wqy-microhei.conf)
wqy-microhei/repos/community-testing-any/PKGBUILD
(from rev 907933, wqy-microhei/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: wqy-microhei/repos/community-testing-any/44-wqy-microhei.conf (from rev 907933, wqy-microhei/trunk/44-wqy-microhei.conf)
===================================================================
(Binary files differ)
Copied: wqy-microhei/repos/community-testing-any/PKGBUILD (from rev 907933, wqy-microhei/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-03-28 21:19:03 UTC (rev 907935)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Philacorns <opuspace at gmail.com>
+
+pkgname=wqy-microhei
+pkgver=0.2.0_beta
+pkgrel=11
+pkgdesc="A Sans-Serif style high quality CJK outline font"
+arch=('any')
+license=('GPL3' 'APACHE' 'custom:"font embedding exception"')
+url="https://wenq.org"
+source=("https://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"/usr/share/fontconfig/conf.default
+ install -Dm644 "$srcdir"/44-wqy-microhei.conf "$pkgdir"/usr/share/fontconfig/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
+ ln -s ../conf.avail/44-wqy-microhei.conf "$pkgdir"/usr/share/fontconfig/conf.default/44-wqy-microhei.conf
+}
More information about the arch-commits
mailing list