~whynothugo/dotfiles

ref: a161f8c207adea1fb51092ffa4bb65ae258088d9 dotfiles/packages/whynothugo-locale/PKGBUILD -rw-r--r-- 997 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
33
34
35
# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>

pkgname=whynothugo-locale
pkgver=3
pkgrel=1
pkgdesc="Configure and build tweaked locales."
arch=("any")
depends=("glibc" "holo-files")
source=(
  "locale.gen"
  "80-ignore-locales.conf"
  "90-drop-extra-de-dicts.conf"
  "90-drop-extra-en-dicts.conf"
  "90-drop-extra-nl-dicts.conf"
)
sha256sums=(
  "SKIP"
  "SKIP"
  "SKIP"
  "SKIP"
  "SKIP"
)
install="whynothugo-locale.install"

package() {
  install -Dm 0644 "$srcdir/locale.gen" "$pkgdir/usr/share/holo/files/10-locale/etc/locale.gen"

  # Hooks to skip installing unwanted dictionaries.
  install -Dm 0644 "$srcdir/90-drop-extra-de-dicts.conf" -t "$pkgdir/etc/pacman.d/"
  install -Dm 0644 "$srcdir/90-drop-extra-en-dicts.conf" -t "$pkgdir/etc/pacman.d/"
  install -Dm 0644 "$srcdir/90-drop-extra-nl-dicts.conf" -t "$pkgdir/etc/pacman.d/"

  # Hooks to skip installing unnecessary locales. dictionaries.
  install -Dm 0644 "$srcdir/80-ignore-locales.conf" -t "$pkgdir/etc/pacman.d/"
}