~whynothugo/dotfiles

ref: 38b900dc12ae810eda071e6fd1e4f25db6bb3a2a dotfiles/packages/whynothugo-locale/PKGBUILD -rw-r--r-- 1.2 KiB
38b900dc — Hugo Osvaldo Barrera nvim: Add borders to hover float windows 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
# 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'
            '8483b08125c2fac950d639db0dd51a9c0aac04494013e967fb3f680f29f96d0f'
            '35b1d185e2f9e130b2885013c9594ca2767515abbe1c7a60772efb56f374fc5c'
            '7c371c211fd5fd99a09fcf30184826501d5db26a0734219100e5c53fc344ecd7'
            'f345bdb6cd1c0fff113db3058fdde05a17177f45aae19772dc4992610fc26c00')
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/"
}