aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ttf-cantarell/APKBUILD
blob: 8d14472aeda95fe65e2fb81a9cb6dbac2095c1b2 (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
34
35
36
37
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=ttf-cantarell
pkgver=0.0.25
pkgrel=0
pkgdesc="GNOME default font"
url="https://wiki.gnome.org/Projects/CantarellFonts"
arch="noarch"
license="Custom"
depends=""
makedepends=""
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"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c09c3ecb3d4c50f613234398fabd327ca92b8abbc27082e8e98f2944f3dd9f0c2ff4c022ff5e5503a86e724bb8e2fbf6cd081f8a29e91b4209f5bf0e32168c3e  cantarell-fonts-0.0.25.tar.xz"