From 235dcb80656bf8c276fb425f0c5e99d70cf5f102 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 28 Jan 2019 02:57:52 +0000 Subject: user/cantarell-fonts: modernise --- user/cantarell-fonts/APKBUILD | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'user/cantarell-fonts') diff --git a/user/cantarell-fonts/APKBUILD b/user/cantarell-fonts/APKBUILD index 1d0aa9876..b5fec057f 100644 --- a/user/cantarell-fonts/APKBUILD +++ b/user/cantarell-fonts/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: A. Wilcox pkgname=cantarell-fonts pkgver=0.111 -pkgrel=0 -pkgdesc="Humanist sans-serif typeface from GNOME" +pkgrel=1 +pkgdesc="Humanist sans-serif typeface, designed for GNOME Shell" url=" " arch="noarch" options="!check" # Impossible to test font @@ -15,12 +15,8 @@ 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 + install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ *.otf } sha512sums="638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e cantarell-fonts-0.111.tar.xz" -- cgit v1.2.3-60-g2f50