summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-08-03 17:28:07 -0400
committerDavid P <megver83@parabola.nu>2020-08-03 17:28:07 -0400
commitb1163858f2feb00be097fd76b367d0f2c5ddefd1 (patch)
treeddeca6b22454e13260ec9d5f1ac8b2840e733ef8 /pcr
parent750b5c220d5b4b127cb2246789f55e5bb45092a1 (diff)
updpkg: pcr/ttf-fonts-meta 20200803-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ttf-fonts-meta/PKGBUILD133
-rw-r--r--pcr/ttf-fonts-meta/ttf-fonts-meta.install6
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. <megver83@parabola.nu>
-# Contributor: bill-auger <bill-auger@programmer.net>
-
-
-# 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 <<EOM
- If you noted that a font package was not installed with 'ttf-fonts-meta',
- or if 'ttf-fonts-meta' installed a package that was not a font,
- please report it on the bug tracker: <https://labs.parabola.nu>,
- or send email to: <dev@lists.parabola.nu>
+ 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
}