From b1163858f2feb00be097fd76b367d0f2c5ddefd1 Mon Sep 17 00:00:00 2001 From: David P Date: Mon, 3 Aug 2020 17:28:07 -0400 Subject: updpkg: pcr/ttf-fonts-meta 20200803-1 Signed-off-by: David P --- pcr/ttf-fonts-meta/PKGBUILD | 133 +++++++++++++++++++++--------- pcr/ttf-fonts-meta/ttf-fonts-meta.install | 6 +- 2 files changed, 98 insertions(+), 41 deletions(-) diff --git a/pcr/ttf-fonts-meta/PKGBUILD b/pcr/ttf-fonts-meta/PKGBUILD index 560b83b43..9a71538d8 100644 --- a/pcr/ttf-fonts-meta/PKGBUILD +++ b/pcr/ttf-fonts-meta/PKGBUILD @@ -1,43 +1,102 @@ # Maintainer: David P. -# Contributor: bill-auger - - -# NOTE: Generally, we do not want packaging to be so dynamic -# (eg: `date` as 'pkgver', or building from a git branch tip), -# such that the package version or contents is inherently not reproducible. -# In the case of pure meta-packages like this one though (and package-groups), -# reproducibility reduces to that of it's dependencies; and neither -# meta-packages nor package-groups should play a role in any dependency chain, -# other than the mandatory ones (currently only 'base'). -# This dynamic approach is far easier to maintain than an explicit white-list, -# which is a highly desirable property; becasue the use-case for installing -# 1GB of fonts, seems too small to justify maintenance of this package at all. - pkgname=ttf-fonts-meta -pkgver=$(date +%Y%m%d) +pkgver=20200803 # date +%Y%m%d pkgrel=1 -pkgdesc="Metapackage that installs all available fonts (approx: 1GB)" +pkgdesc='Metapackage that installs all available fonts' arch=(any) -url=https://www.parabola.nu/ +url='https://www.parabola.nu/' license=(GPL) - -depends=() -install=${pkgname}.install - - -package() -{ - local repos='(extra|community|pcr)' - local filters='(alias|birdfont|fontsel|encodings|mkfontscale|nerd-fonts|ttf-fonts-meta|xlsfonts|xorg-font-util)' - local overrides='nerd-fonts' - local fonts=$( ( pacman -Ss ^ttf- | grep -E "${repos}/ttf-" ; \ - pacman -Ss [^d]fonts | grep -E "${repos}/.*fonts.*" ; \ - pacman -Ss fonts$ | grep -E "${repos}/.*font " ; ) | \ - sed -E "s!${repos}/([^ ]*) .*!\2!" | \ - grep -vE "${filters}" | uniq ) - - depends+=( ${fonts} ${overrides} ) - - echo -e "\$fonts found (plus \$overrides):\n${depends[@]}" -} +install=$pkgname.install +depends=( + adobe-source-code-pro-fonts + adobe-source-sans-pro-fonts + adobe-source-serif-pro-fonts + cantarell-fonts + gnu-free-fonts + gsfonts + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + noto-fonts-extra + opendesktop-fonts + otf-cormorant + otf-fantasque-sans-mono + otf-fira-mono + otf-fira-sans + otf-font-awesome + otf-hermit + otf-ipaexfont + otf-ipafont + otf-ipamjfont + otf-latin-modern + otf-latinmodern-math + otf-league-gothic + otf-overpass + otf-stix + powerline-fonts + tex-gyre-fonts + ttf-anonymous-pro + ttf-arphic-ukai + ttf-arphic-uming + ttf-baekmuk + ttf-beteckna + ttf-bitstream-vera + ttf-caladea + ttf-carlito + ttf-cascadia-code + ttf-comic-neue + ttf-cormorant + ttf-croscore + ttf-dejavu + ttf-droid + ttf-eurof + ttf-fantasque-sans-mono + ttf-fira-code + ttf-fira-mono + ttf-fira-sans + ttf-font-awesome + ttf-fonts-meta + ttf-hack + ttf-hanazono + ttf-ibm-plex + ttf-inconsolata + ttf-indic-otf + ttf-ionicons + ttf-jetbrains-mono + ttf-junicode + ttf-khmer + ttf-lato + ttf-league-gothic + ttf-liberation + ttf-linux-libertine + ttf-linux-libertine-g + ttf-monofur + ttf-montserrat + ttf-open-comic-font + ttf-opensans + ttf-proggy-clean + ttf-roboto + ttf-roboto-mono + ttf-sarasa-gothic + ttf-sazanami + ttf-tibetan-machine + xorg-fonts-100dpi + xorg-fonts-75dpi + xorg-fonts-type1 +) +optdepends=( + adobe-source-han-sans-cn-fonts + adobe-source-han-sans-hk-fonts + adobe-source-han-sans-jp-fonts + adobe-source-han-sans-kr-fonts + adobe-source-han-sans-otc-fonts + adobe-source-han-sans-tw-fonts + adobe-source-han-serif-cn-fonts + adobe-source-han-serif-jp-fonts + adobe-source-han-serif-kr-fonts + adobe-source-han-serif-otc-fonts + adobe-source-han-serif-tw-fonts + ttf-nerd-fonts-symbols + ttf-nerd-fonts-symbols-mono +) diff --git a/pcr/ttf-fonts-meta/ttf-fonts-meta.install b/pcr/ttf-fonts-meta/ttf-fonts-meta.install index e01ffbe70..b5c401b2b 100644 --- a/pcr/ttf-fonts-meta/ttf-fonts-meta.install +++ b/pcr/ttf-fonts-meta/ttf-fonts-meta.install @@ -1,9 +1,7 @@ pre_install() { cat <, - or send email to: + If you noted that a font package was not installed after you got ttf-fonts-meta, + please report it to mailto:dev@lists.parabola.nu EOM } -- cgit v1.2.3