[arch-commits] Commit in noto-fonts (4 files)

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


    Date: Saturday, October 17, 2015 @ 01:40:58
  Author: arojas
Revision: 249442

archrelease: copy trunk to extra-any

Added:
  noto-fonts/repos/
  noto-fonts/repos/extra-any/
  noto-fonts/repos/extra-any/PKGBUILD
    (from rev 249441, noto-fonts/trunk/PKGBUILD)
  noto-fonts/repos/extra-any/noto-fonts.install
    (from rev 249441, noto-fonts/trunk/noto-fonts.install)

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

Copied: noto-fonts/repos/extra-any/PKGBUILD (from rev 249441, noto-fonts/trunk/PKGBUILD)
===================================================================
--- repos/extra-any/PKGBUILD	                        (rev 0)
+++ repos/extra-any/PKGBUILD	2015-10-16 23:40:58 UTC (rev 249442)
@@ -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
+}

Copied: noto-fonts/repos/extra-any/noto-fonts.install (from rev 249441, noto-fonts/trunk/noto-fonts.install)
===================================================================
--- repos/extra-any/noto-fonts.install	                        (rev 0)
+++ repos/extra-any/noto-fonts.install	2015-10-16 23:40:58 UTC (rev 249442)
@@ -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