summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38a6e1d104903ac603eb27fe73511541863ce420 (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-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=(
  "HackNerdFont-Bold.ttf::$_raw_url/Bold/HackNerdFont-Bold.ttf"
  "HackNerdFont-BoldItalic.ttf::$_raw_url/BoldItalic/HackNerdFont-BoldItalic.ttf"
  "HackNerdFont-Regular.ttf::$_raw_url/Regular/HackNerdFont-Regular.ttf"
  "HackNerdFont-Italic.ttf::$_raw_url/Italic/HackNerdFont-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
}