~whynothugo/dotfiles

ref: a161f8c207adea1fb51092ffa4bb65ae258088d9 dotfiles/packages/whynothugo-fontconfig/PKGBUILD -rw-r--r-- 863 bytes
a161f8c2 — Hugo Osvaldo Barrera Stop tracking checksum for repo-local files 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>

pkgname=whynothugo-fontconfig
pkgver=5
pkgrel=1
pkgdesc="Configure fontconfig settings."
arch=("any")
depends=(
  "ttf-fira-code" # monospace
  "ttf-nerd-fonts-symbols-mono"  # monospace
  "noto-fonts" # serif
  "noto-fonts-cjk" # cjk
  "cantarell-fonts" # ui
  "ttf-opensans" # sans serif
  "ttf-twemoji" # emoji
  "otf-fantasque-sans-mono" # terminal
)
source=(
  "80-fira-code-nerd-fonts.conf"
  "80-font-preference.conf"
)
sha256sums=(
  "SKIP"
  "SKIP"
)

package() {
  install -Dm 0644 "$srcdir/80-font-preference.conf" "$pkgdir/etc/fonts/conf.d/80-font-preference.conf"
  install -Dm 0644 "$srcdir/80-fira-code-nerd-fonts.conf" "$pkgdir/etc/fonts/conf.d/80-fira-code-nerd-fonts.conf"

  ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf "$pkgdir/etc/fonts/conf.d/10-sub-pixel-rgb.conf"
}