[arch-commits] Commit in noto-fonts-emoji/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Mar 11 08:35:14 UTC 2017


    Date: Saturday, March 11, 2017 @ 08:35:14
  Author: arojas
Revision: 290521

Package precompiled ttf

Modified:
  noto-fonts-emoji/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-11 07:56:55 UTC (rev 290520)
+++ PKGBUILD	2017-03-11 08:35:14 UTC (rev 290521)
@@ -2,8 +2,8 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=noto-fonts-emoji
-_pkgver=2016-10-20
-_commit=f09b63d
+_pkgver=2017-03-10
+_commit=733a622
 pkgver=${_pkgver//-}
 pkgrel=1
 pkgdesc="Google Noto emoji fonts"
@@ -11,24 +11,11 @@
 url="https://www.google.com/get/noto/"
 license=(Apache)
 depends=(fontconfig)
-makedepends=(cairo optipng python2-fonttools nototools imagemagick zopfli python2-setuptools)
-#source=("https://github.com/googlei18n/noto-emoji/archive/v$_pkgver-license-apache.tar.gz")
 source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-emoji/archive/$_commit.zip")
-md5sums=('52568bbd4752b74ba24d060f2b74e85e')
+md5sums=('ed36ba575fc6055ad6f2c9fb00e55946')
 
-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' -e 's|ttx "$<"|ttx2 "$<"|g' -i Makefile
-}
-
-build() {
-  cd noto-emoji-*
-  make
-}
-
 package() {
   cd noto-emoji-*
   mkdir -p "$pkgdir"/usr/share/fonts/noto
-  install -m644 NotoColorEmoji.ttf fonts/NotoEmoji-Regular.ttf "$pkgdir"/usr/share/fonts/noto
+  install -m644 fonts/*.ttf "$pkgdir"/usr/share/fonts/noto
 }



More information about the arch-commits mailing list