[arch-commits] Commit in noto-fonts-emoji/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 24 18:19:56 UTC 2015
Date: Saturday, October 24, 2015 @ 20:19:56
Author: arojas
Revision: 249750
Compile in build(), use python2 version of ttx
Modified:
noto-fonts-emoji/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-24 18:15:22 UTC (rev 249749)
+++ PKGBUILD 2015-10-24 18:19:56 UTC (rev 249750)
@@ -10,7 +10,7 @@
url="https://www.google.com/get/noto/"
license=(Apache)
depends=(fontconfig)
-makedepends=(cairo optipng python2-fonttools python-fonttools nototools)
+makedepends=(cairo optipng python2-fonttools nototools)
install=$pkgname.install
source=("https://github.com/googlei18n/noto-emoji/archive/v$_pkgver-license-apache.tar.gz")
sha256sums=('22d40e3b2a9f3f4dc0f1e758c2be8513e3e1a9d8843056466d7595b5476dbb86')
@@ -18,15 +18,16 @@
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
+ sed -e 's|python|python2|g' -e 's|ttx "$<"|ttx2 "$<"|g' -i Makefile
ln -rs add_emoji_gsub.py third_party/color_emoji/
}
-package() {
+build() {
cd noto-emoji-*
make
+}
+package() {
mkdir -p "$pkgdir"/usr/share/fonts/noto
install -m644 NotoColorEmoji.ttf NotoEmoji-Regular.ttf "$pkgdir"/usr/share/fonts/noto
}
-
More information about the arch-commits
mailing list