[arch-commits] Commit in ttf-arphic-ukai/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Mar 28 08:36:09 UTC 2019
Date: Thursday, March 28, 2019 @ 08:36:02
Author: foutrelis
Revision: 445223
archrelease: copy trunk to community-any
Added:
ttf-arphic-ukai/repos/community-any/
ttf-arphic-ukai/repos/community-any/PKGBUILD
(from rev 445222, ttf-arphic-ukai/trunk/PKGBUILD)
ttf-arphic-ukai/repos/community-any/install
(from rev 445222, ttf-arphic-ukai/trunk/install)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
install | 13 +++++++++++++
2 files changed, 35 insertions(+)
Copied: ttf-arphic-ukai/repos/community-any/PKGBUILD (from rev 445222, ttf-arphic-ukai/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-03-28 08:36:02 UTC (rev 445223)
@@ -0,0 +1,22 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=ttf-arphic-ukai
+pkgver=0.2.20080216.1
+pkgrel=6
+pkgdesc='CJK Unicode font Kaiti style'
+url='http://www.freedesktop.org/wiki/Software/CJKUnifonts'
+license=('custom:Arphic_Public_License')
+arch=('any')
+depends=('fontconfig' 'xorg-font-utils')
+source=("http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/t/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
+sha512sums=('8c96d36f5e36eb73ec3e415cba7ee5f02a0b85c334af7362facb2dd9a7650ed3329cfadb21fe0fe7273f52c87f1bd1aeb039c40499ca32925db4cd96ebd03c21')
+
+install=install
+
+package() {
+ cd "${srcdir}"
+ install -D -m644 ukai.ttc "${pkgdir}"/usr/share/fonts/TTF/ukai.ttc
+ install -D -m644 license/english/ARPHICPL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
Copied: ttf-arphic-ukai/repos/community-any/install (from rev 445222, ttf-arphic-ukai/trunk/install)
===================================================================
--- community-any/install (rev 0)
+++ community-any/install 2019-03-28 08:36:02 UTC (rev 445223)
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -s > /dev/null
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list