[arch-commits] Commit in noto-fonts-cjk (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Oct 17 00:23:51 UTC 2015
Date: Saturday, October 17, 2015 @ 02:23:50
Author: arojas
Revision: 249449
archrelease: copy trunk to extra-any
Added:
noto-fonts-cjk/repos/
noto-fonts-cjk/repos/extra-any/
noto-fonts-cjk/repos/extra-any/PKGBUILD
(from rev 249448, noto-fonts-cjk/trunk/PKGBUILD)
noto-fonts-cjk/repos/extra-any/noto-fonts-cjk.install
(from rev 249448, noto-fonts-cjk/trunk/noto-fonts-cjk.install)
------------------------+
PKGBUILD | 20 ++++++++++++++++++++
noto-fonts-cjk.install | 11 +++++++++++
2 files changed, 31 insertions(+)
Copied: noto-fonts-cjk/repos/extra-any/PKGBUILD (from rev 249448, noto-fonts-cjk/trunk/PKGBUILD)
===================================================================
--- repos/extra-any/PKGBUILD (rev 0)
+++ repos/extra-any/PKGBUILD 2015-10-17 00:23:50 UTC (rev 249449)
@@ -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
+}
Copied: noto-fonts-cjk/repos/extra-any/noto-fonts-cjk.install (from rev 249448, noto-fonts-cjk/trunk/noto-fonts-cjk.install)
===================================================================
--- repos/extra-any/noto-fonts-cjk.install (rev 0)
+++ repos/extra-any/noto-fonts-cjk.install 2015-10-17 00:23:50 UTC (rev 249449)
@@ -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