aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-cantarell/APKBUILD
blob: 4561d2a89ec5df4fc58b02d0fcdaba270228fafb (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
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
pkgname=ttf-cantarell
pkgver=0.200
pkgrel=2
pkgdesc="Humanist sans-serif font designed for on-screen reading"
url="https://wiki.gnome.org/Projects/CantarellFonts"
arch="noarch !s390x"
license="OFL-1.1 AND Apache-2.0"
makedepends="meson gettext-dev appstream-glib-dev psautohint py3-fontmath"
source="https://download.gnome.org/sources/cantarell-fonts/$pkgver/cantarell-fonts-$pkgver.tar.xz"
builddir="$srcdir/cantarell-fonts-$pkgver"

# it's just data, no testsuites
options="!check"

build() {
	meson \
		--buildtype=debugoptimized \
		--prefix=/usr \
		. build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="44c154c6ca195f8a4bdb3c1f2f6856f03ffce47ef82ea381575e1291db46e6035dc8febd00d9a34800961c4e403d0e4fb9a691ef376d27d3cd883b9ef81a0711  cantarell-fonts-0.200.tar.xz"