aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-cantarell/APKBUILD
blob: 9490876e76677fe8652bb8ba30501efba3fe7651 (plain) (blame)
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.201
pkgrel=1
pkgdesc="Humanist sans-serif font designed for on-screen reading"
url="https://wiki.gnome.org/Projects/CantarellFonts"
arch="noarch"
license="OFL-1.1 AND Apache-2.0"
makedepends="meson gettext-dev"
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=plain \
		--prefix=/usr \
		. build
	ninja -C build
}

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

sha512sums="c512244a1ed343b1b9fef3a630c1c678c6ef7f06efcda883af0dbab5478823f31c9bd5fc38b92ad1747704528c6e2589584ab94743f433957644d5386dabdc98  cantarell-fonts-0.201.tar.xz"