[arch-commits] Commit in noto-fonts/repos/extra-any (4 files)

Antonio Rojas arojas at archlinux.org
Thu Dec 24 23:46:32 UTC 2015


    Date: Friday, December 25, 2015 @ 00:46:32
  Author: arojas
Revision: 257255

archrelease: copy trunk to extra-any

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

--------------------+
 PKGBUILD           |   59 +++++++++++++++++++++++++++++++--------------------
 noto-fonts.install |   22 +++++++++----------
 2 files changed, 47 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-24 23:44:57 UTC (rev 257254)
+++ PKGBUILD	2015-12-24 23:46:32 UTC (rev 257255)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=noto-fonts
-_pkgver=2015-12-24
-_commit=3f1dc1
-pkgver=${_pkgver//-}
-pkgrel=1
-pkgdesc="Google Noto TTF fonts"
-arch=(any)
-url="https://www.google.com/get/noto/"
-license=(Apache)
-depends=(fontconfig)
-provides=(ttf-font)
-install=noto-fonts.install
-#source=("https://github.com/googlei18n/noto-fonts/archive/v$_pkgver-license-adobe.tar.gz")
-source=("https://github.com/googlei18n/noto-fonts/archive/$_commit.zip")
-sha256sums=('4a91e1ed90bf61a8d3e486db6dac40f8e71973b97960d41be7790cbb68ce81df')
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/fonts/noto
-  install -m644 $pkgname-*/hinted/*.ttf "$pkgdir"/usr/share/fonts/noto
-}

Copied: noto-fonts/repos/extra-any/PKGBUILD (from rev 257254, noto-fonts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-12-24 23:46:32 UTC (rev 257255)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=noto-fonts
+pkgname=(noto-fonts ttf-croscore)
+_pkgver=2015-12-24
+_commit=3f1dc1
+pkgver=${_pkgver//-}
+pkgrel=2
+pkgdesc="Google Noto TTF fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(Apache)
+depends=(fontconfig)
+provides=(ttf-font)
+install=noto-fonts.install
+#source=("https://github.com/googlei18n/noto-fonts/archive/v$_pkgver-license-adobe.tar.gz")
+source=("https://github.com/googlei18n/noto-fonts/archive/$_commit.zip")
+sha256sums=('4a91e1ed90bf61a8d3e486db6dac40f8e71973b97960d41be7790cbb68ce81df')
+
+package_noto-fonts() {
+  optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters')
+
+  mkdir -p "$pkgdir"/usr/share/fonts/noto
+  install -m644 $pkgbase-*/hinted/Noto*.ttf "$pkgdir"/usr/share/fonts/noto
+}
+
+package_ttf-croscore() {
+  pkgdesc='Chrome OS core fonts'
+
+  cd $pkgbase-*/hinted
+  mkdir -p "$pkgdir"/usr/share/fonts/TTF
+  install -m644 Arimo*.ttf Cousine*.ttf Tinos*.ttf "$pkgdir"/usr/share/fonts/TTF
+}
+
+

Deleted: noto-fonts.install
===================================================================
--- noto-fonts.install	2015-12-24 23:44:57 UTC (rev 257254)
+++ noto-fonts.install	2015-12-24 23:46:32 UTC (rev 257255)
@@ -1,11 +0,0 @@
-post_install() {
-  fc-cache -s
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: noto-fonts/repos/extra-any/noto-fonts.install (from rev 257254, noto-fonts/trunk/noto-fonts.install)
===================================================================
--- noto-fonts.install	                        (rev 0)
+++ noto-fonts.install	2015-12-24 23:46:32 UTC (rev 257255)
@@ -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