summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 02:57:52 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 02:57:52 +0000
commit235dcb80656bf8c276fb425f0c5e99d70cf5f102 (patch)
tree4afdca93b6f9c67d77e76610338292ada9218311
parent9b0b6fb4a16cebd23c2d228870cf328e3c01c4d3 (diff)
downloadpackages-235dcb80656bf8c276fb425f0c5e99d70cf5f102.tar.gz
packages-235dcb80656bf8c276fb425f0c5e99d70cf5f102.tar.bz2
packages-235dcb80656bf8c276fb425f0c5e99d70cf5f102.tar.xz
packages-235dcb80656bf8c276fb425f0c5e99d70cf5f102.zip
user/cantarell-fonts: modernise
-rw-r--r--user/cantarell-fonts/APKBUILD10
1 files changed, 3 insertions, 7 deletions
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 <awilfox@adelielinux.org>
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"