[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Sat Oct 17 00:23:02 UTC 2015


    Date: Saturday, October 17, 2015 @ 02:23:02
  Author: arojas
Revision: 249448

Add Google Noto CJK fonts

Added:
  noto-fonts-cjk/
  noto-fonts-cjk/trunk/
  noto-fonts-cjk/trunk/PKGBUILD
  noto-fonts-cjk/trunk/noto-fonts-cjk.install

------------------------+
 PKGBUILD               |   20 ++++++++++++++++++++
 noto-fonts-cjk.install |   11 +++++++++++
 2 files changed, 31 insertions(+)

Added: noto-fonts-cjk/trunk/PKGBUILD
===================================================================
--- noto-fonts-cjk/trunk/PKGBUILD	                        (rev 0)
+++ noto-fonts-cjk/trunk/PKGBUILD	2015-10-17 00:23:02 UTC (rev 249448)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts-cjk
+pkgver=1.004
+pkgrel=1
+pkgdesc="Google Noto CJK fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(custom:SIL)
+depends=(fontconfig)
+install=$pkgname.install
+source=("https://github.com/googlei18n/noto-cjk/archive/v$pkgver.tar.gz")
+sha256sums=('835a42755c1e8d6a4a406f32609da1f0fa7f9674d05760f0be658d9d6f4ab71c')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/fonts/noto
+  install -m644 noto-cjk-$pkgver/*.{ttc,otf} "$pkgdir"/usr/share/fonts/noto
+  install -Dm644 noto-cjk-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


Property changes on: noto-fonts-cjk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: noto-fonts-cjk/trunk/noto-fonts-cjk.install
===================================================================
--- noto-fonts-cjk/trunk/noto-fonts-cjk.install	                        (rev 0)
+++ noto-fonts-cjk/trunk/noto-fonts-cjk.install	2015-10-17 00:23:02 UTC (rev 249448)
@@ -0,0 +1,11 @@
+post_install() {
+  fc-cache -s
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list