aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-cantarell/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ttf-cantarell/APKBUILD')
-rw-r--r--main/ttf-cantarell/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/ttf-cantarell/APKBUILD b/main/ttf-cantarell/APKBUILD
new file mode 100644
index 0000000000..9490876e76
--- /dev/null
+++ b/main/ttf-cantarell/APKBUILD
@@ -0,0 +1,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"