From 45e0f43f4613641ef3f9e15de696567037d5da2a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 10 Jan 2019 17:54:49 +0000 Subject: user/cantarell-fonts: new package --- user/cantarell-fonts/APKBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 user/cantarell-fonts/APKBUILD (limited to 'user/cantarell-fonts/APKBUILD') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-60-g2f50