# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=font-noto-emoji
pkgver=20161212
_commit=f09b63d1ecfe19b93021b0a283f1aa539b7230a9
pkgrel=0
pkgdesc="Google Noto emoji fonts"
url="https://www.google.com/get/noto/"
arch="noarch"
license="OFL-1.1"
depends=""
depends_dev=""
makedepends="optipng py-fonttools cairo-dev imagemagick
	py-setuptools bash nototools libpng-dev python2"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/googlei18n/noto-emoji/archive/${_commit}.tar.gz"
builddir="$srcdir/noto-emoji-$_commit"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/usr/share/fonts/noto/
	install -m644 NotoColorEmoji.ttf fonts/NotoEmoji-Regular.ttf \
		"$pkgdir"/usr/share/fonts/noto/ || return 1
}

md5sums="15c81491c0ebd28fc4c386a4d22d4cfd  font-noto-emoji-20161212.tar.gz"
sha256sums="32926d0483fd7d6ca962876530b9faaae3e49ee05ae5bc417e5f2db2622ba6a5  font-noto-emoji-20161212.tar.gz"
sha512sums="9600cd6f0747bef5a198f6ab84a191881efdaf936b47719856b3c068254169592685190dce80213c1c0065cae20ca21803d96a92049f3cfc9090322846753ff8  font-noto-emoji-20161212.tar.gz"
