aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf-cantarell/APKBUILD
blob: c4d851c07941040a392fe552820496ade6a0030e (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
33
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=ttf-cantarell
pkgver=0.101
pkgrel=0
pkgdesc="GNOME default font"
url="https://wiki.gnome.org/Projects/CantarellFonts"
arch="noarch"
license="Custom"
depends=""
makedepends="meson gettext-dev appstream-glib-dev"
install=""
install_if="gnome-shell"
subpackages=""
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() {
	cd "$builddir"
	meson \
		--buildtype=release \
		--prefix=/usr \
		. build
	ninja -C "$builddir"/build
}

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

sha512sums="52dbd8358de7e20146e627ab0b1298efb97ee335e45d8e63bab7c3a7d05314d0bb94ac448e34af4c6f7212623185a9e03a30eb24acee4915142e40af0086bbfb  cantarell-fonts-0.101.tar.xz"