summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e96c4926a816eb5c9fe1d7db40731fec3e547b1d (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
# Maintainer:  Carl Kempe o@gfy.lol
pkgname=hack-nf-mono-git
pkgver=20230517
pkgrel=1
pkgdesc="A typeface designed for source code. Patched with Nerd Fonts iconics."
arch=(any)
url="https://github.com/ryanoasis/nerd-fonts"
_raw_url="$url/raw/master/patched-fonts/Hack"
license=('MIT')
depends=('fontconfig')
source=(
  "HackNerdFontMono-Bold.ttf::$_raw_url/Bold/HackNerdFontMono-Bold.ttf"
  "HackNerdFontMono-BoldItalic.ttf::$_raw_url/BoldItalic/HackNerdFontMono-BoldItalic.ttf"
  "HackNerdFontMono-Regular.ttf::$_raw_url/Regular/HackNerdFontMono-Regular.ttf"
  "HackNerdFontMono-Italic.ttf::$_raw_url/Italic/HackNerdFontMono-Italic.ttf"
)
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')

pkgver() {
  date +%Y%m%d
}

package() {
  install -dm0755 ${pkgdir}/usr/share/fonts/TTF
  install -Dm0644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF
}