[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Fri Oct 16 23:40:14 UTC 2015


    Date: Saturday, October 17, 2015 @ 01:40:14
  Author: arojas
Revision: 249441

Add Google Noto fonts (will be Plasma 5.5 default font)

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

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

Added: noto-fonts/trunk/PKGBUILD
===================================================================
--- noto-fonts/trunk/PKGBUILD	                        (rev 0)
+++ noto-fonts/trunk/PKGBUILD	2015-10-16 23:40:14 UTC (rev 249441)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts
+_pkgver=2015-09-29
+pkgver=${_pkgver//-}
+pkgrel=1
+pkgdesc="Google Noto fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(Apache)
+depends=(fontconfig)
+install=noto-fonts.install
+source=("https://github.com/googlei18n/noto-fonts/archive/v$_pkgver-license-adobe.tar.gz")
+sha256sums=('0b80cc4cceb0337c31e209ca8d3b3f8d13af01284a20ced04d69969262d7f37d')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/fonts/TTF
+  install -m644 $pkgname-$_pkgver-license-adobe/hinted/*.ttf "$pkgdir"/usr/share/fonts/TTF
+}

Added: noto-fonts/trunk/noto-fonts.install
===================================================================
--- noto-fonts/trunk/noto-fonts.install	                        (rev 0)
+++ noto-fonts/trunk/noto-fonts.install	2015-10-16 23:40:14 UTC (rev 249441)
@@ -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