aboutsummaryrefslogtreecommitdiffstats
path: root/testing/font-noto-emoji/APKBUILD
blob: 788f8df238db7527693fe3a7448a2198c4776307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=font-noto-emoji
pkgver=20180102
_commit=153e1d4c026c124fbac6ee93e559b5df375f24f5
pkgrel=1
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>=3.21.2-r1 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
}

sha512sums="b2da342ccee73e72aac41a59afe0a726acf66cd1314f9582eb890b80ab646a340db14acbf4bd3146de9f30b50f84f38f76ca56369b7ef4b70b3e901e31b72355  font-noto-emoji-20180102.tar.gz"