# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=font-noto-emoji pkgver=0_git20200916 _commit="aac7ccaa4d1dea4543453b96f7d6fc47066a57ff" pkgrel=1 pkgdesc="Google Noto emoji fonts" url="https://github.com/googlefonts/noto-emoji" arch="noarch !mips !mips64" # fails to build on mips license="OFL-1.1" makedepends=" bash cairo-dev imagemagick libpng-dev nototools optipng pngquant py3-fonttools py3-setuptools python3 zopfli " source="https://github.com/googlei18n/noto-emoji/archive/$_commit/font-noto-emoji-$_commit.tar.gz 66-noto-color-emoji.conf " options="!check" # No code to test builddir="$srcdir/noto-emoji-$_commit" build() { make VIRTUAL_ENV=False BYPASS_SEQUENCE_CHECK=True } package() { # Fonts in the fonts/ subdirectory are pre-built. # TODO: Figure out if we can build NotoEmoji-Regular.ttf too somehow mkdir -p "$pkgdir"/usr/share/fonts/noto install -m644 NotoColorEmoji.ttf fonts/NotoEmoji-Regular.ttf \ "$pkgdir"/usr/share/fonts/noto install -Dm644 "$srcdir"/66-noto-color-emoji.conf "$pkgdir"/etc/fonts.conf.d/66-noto-color-emoji.conf } sha512sums="d497c4ecaf299ade23b1f6a3bc6e98d7dbbb619e51f067496d4a4dbf71693c96de26263af595c0aae86c63dcea8be190718f5477af645d4338989f25cc3ab848 font-noto-emoji-aac7ccaa4d1dea4543453b96f7d6fc47066a57ff.tar.gz 7034650a1bec1464a59a8f8bf06494216acef017a2625a0f57367177336d2fb3d93d80ce34b970135a0ad111fbf0305c4cb05b071147336141933a66d6be680e 66-noto-color-emoji.conf"