[arch-commits] Commit in noto-fonts-emoji (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Oct 20 20:50:16 UTC 2015
Date: Tuesday, October 20, 2015 @ 22:50:16
Author: arojas
Revision: 249587
archrelease: copy trunk to extra-any
Added:
noto-fonts-emoji/repos/
noto-fonts-emoji/repos/extra-any/
noto-fonts-emoji/repos/extra-any/PKGBUILD
(from rev 249586, noto-fonts-emoji/trunk/PKGBUILD)
noto-fonts-emoji/repos/extra-any/noto-fonts-emoji.install
(from rev 249586, noto-fonts-emoji/trunk/noto-fonts-emoji.install)
--------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
noto-fonts-emoji.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Copied: noto-fonts-emoji/repos/extra-any/PKGBUILD (from rev 249586, noto-fonts-emoji/trunk/PKGBUILD)
===================================================================
--- repos/extra-any/PKGBUILD (rev 0)
+++ repos/extra-any/PKGBUILD 2015-10-20 20:50:16 UTC (rev 249587)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts-emoji
+_pkgver=2015-09-29
+pkgver=${_pkgver//-}
+pkgrel=1
+pkgdesc="Google Noto emoji fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(Apache)
+depends=(fontconfig)
+makedepends=(cairo optipng python2-fonttools python-fonttools nototools)
+install=$pkgname.install
+source=("https://github.com/googlei18n/noto-emoji/archive/v$_pkgver-license-apache.tar.gz")
+sha256sums=('22d40e3b2a9f3f4dc0f1e758c2be8513e3e1a9d8843056466d7595b5476dbb86')
+
+prepare() {
+ cd noto-emoji-*
+ find -name '*.py' | xargs sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -i
+ sed -e 's|python|python2|g' -i Makefile
+ ln -rs add_emoji_gsub.py third_party/color_emoji/
+}
+
+package() {
+ cd noto-emoji-*
+ make
+
+ mkdir -p "$pkgdir"/usr/share/fonts/noto
+ install -m644 NotoColorEmoji.ttf NotoEmoji-Regular.ttf "$pkgdir"/usr/share/fonts/noto
+}
+
Copied: noto-fonts-emoji/repos/extra-any/noto-fonts-emoji.install (from rev 249586, noto-fonts-emoji/trunk/noto-fonts-emoji.install)
===================================================================
--- repos/extra-any/noto-fonts-emoji.install (rev 0)
+++ repos/extra-any/noto-fonts-emoji.install 2015-10-20 20:50:16 UTC (rev 249587)
@@ -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