# Maintainer: Yiyang Kang # The fonts in this package was patched with '--careful' option. pkgname=ttf-hack-nerd epoch=1 pkgver=3.0.2 pkgrel=1 pkgdesc="Patched font Hack from the nerd-fonts library" arch=("any") url="https://github.com/ryanoasis/nerd-fonts" license=('MIT') depends=('fontconfig') provides=('ttf-font-nerd') conflicts=('nerd-fonts-git' 'nerd-fonts-complete') _commit=9b462601da6880836ea809ec43c55ec4b79560b6 source=( "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFont-Bold.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFont-BoldItalic.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFont-Italic.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFont-Regular.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFontMono-Bold.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFontMono-BoldItalic.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFontMono-Italic.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFontMono-Regular.ttf" "${url}/raw/v$pkgver/LICENSE" ) b2sums=( 8ab93660d993a6f51cf91fa421b2f1ec97bdd0749ee6518ae85e98b2f62f7400bc689710987ed51fb2f8ddbefd7948f346ba220c670b5da72ea157c51fe651f3 93055e96254f3fe93112af0dfd66d3c2589761cb0feeff1d72f8df5d16a651c6d39f6042b61eff38fdbe0110399347a6d24a5bfe96b1aaeed0e9f1b86357b7e3 7c72b1cb9c27e7751f391e685ab1f0f99d596ce68c029d6c1aef94c827b350d04202bc0b84077b72bfc0df5a73b033a3b2716a99052386baf02154ca11e5ade1 bb265994b415bb6a28b786923bf0cf214963d8ecf17c36c0c7ab9d7150ab37726cd873569ae9d7bc43d818e5cec32379ce20aee5f0edd33d6fddae2d586c3086 dd18dd8dcf8bc6e33ac3b67f213b91fc8b879a55cd737ea50a6941d46d8ee6aaae81157b82bd04924b8b097842f2aa9254300988ca1f96bb03858919dc5e0fac 4204ff940ed4d009758700b79306cfe65033703440cd68637ecd0cc1af95f132645c6835dd32e15199014c826624cde66ef16abef9ada635bc2b8d67c91725b7 f02916f69c1f926a166a03b6cd5d67223676a84f4d9421ae66ad9dda670257706b84990b192ef8c21bef319bbf5d7ed739bfe4ad7d2467112b963481c142b110 73e6a56f633d588e83d5551f28bdc89829d7c06507e7bc884146bd21e3df7522ca80749aace42fc6a3c2c942166f33d36d6c9591b46dc5e255e42e8fd6caad7c ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 ) package() { find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }