summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e55034a9468ad10ba0c00ddaefe9f777bc8609f7 (plain)
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: Caleb Maclennan <caleb@alerque.com>
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
# Contributor: bohoomil <@zoho.com>

pkgname=ttf-iosevka-ibx
pkgver=3.6.3
pkgrel=1
pkgdesc="A programmer's typeface"
url="https://github.com/be5invis/Iosevka"
arch=('any')
groups=('infinality-bundle-fonts-extra')
license=('OFL')
source=("$url/releases/download/v$pkgver/pkg-iosevka-$pkgver.zip"
        45-iosevka.conf
        90-tt-iosevka.conf)
sha256sums=('6d952ddf47d3fe9fffc9901cc86affcaebfe98d67cd3c0b0861bedca0e4c4579'
            '6e6526bdb8c5128e27edcb554f6d7663ca18eeb3f9e076ea938a51d883115ffe'
            'afa1120b3ca7885158ac6ab59f5d22b9ceb7147f46880cd3f76a2560959ded3b')

package(){
  install -m755 -d "$pkgdir"/usr/share/fonts/"$pkgname"
  install -m644 "$srcdir"/ttf/*.ttf "$pkgdir"/usr/share/fonts/"$pkgname"

  install -D -m644 ../45-iosevka.conf \
    "$pkgdir"/etc/fonts/conf.avail/45-iosevka.conf
  install -D -m644 ../90-tt-iosevka.conf \
    "$pkgdir"/etc/fonts/conf.avail/90-tt-iosevka.conf

  install -m755 -d "$pkgdir"/etc/fonts/conf.d
  cd "$pkgdir"/etc/fonts/conf.d
  ln -s ../conf.avail/45-iosevka.conf .
  ln -s ../conf.avail/90-tt-iosevka.conf .
}