summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/cantarell-fonts/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/cantarell-fonts/APKBUILD b/user/cantarell-fonts/APKBUILD
new file mode 100644
index 000000000..1d0aa9876
--- /dev/null
+++ b/user/cantarell-fonts/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=cantarell-fonts
+pkgver=0.111
+pkgrel=0
+pkgdesc="Humanist sans-serif typeface from GNOME"
+url=" "
+arch="noarch"
+options="!check" # Impossible to test font
+license="OFL-1.1"
+depends="fontconfig mkfontdir"
+makedepends=""
+subpackages=""
+replaces="ttf-cantarell"
+source="https://download.gnome.org/sources/cantarell-fonts/$pkgver/cantarell-fonts-$pkgver.tar.xz"
+
+package() {
+ local _otf
+ cd "$builddir"/prebuilt
+ mkdir -p "$pkgdir"/usr/share/fonts/$pkgname
+ for _otf in *.otf; do
+ install -m644 "$_otf" "$pkgdir"/usr/share/fonts/$pkgname/$_otf
+ done
+}
+
+sha512sums="638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e cantarell-fonts-0.111.tar.xz"