# Maintainer: Yiyang Kang # The fonts in this package was patched with '--careful' option. pkgname=ttf-hack-nerd epoch=2 pkgver=3.0.1 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=39240bab3e1157e1ef3be9ae29339c18bb6c26bd 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=( de269ca344695645f17d37b579288d846e93d802f38f866ca6ff68eae79f83ae713476b00e4c391ea1360ae8c5d541d4789e3492620b6f39d26104e4786fce0a 8bdcab6d5545ed013123a7208db9e273efb216643cb55f369cbe36d3427989cb20e1cc0eec2e33e3cdfce21f4d3ee6ecea434d838f997b9d4998b6c9c51ffd06 a47e54223191a25f589d60d495f6196db7d114ff8933eb5551063a3af357fb16c50713b5e557a438d86c255a04479e4b5b6ffa312884b9bfaa46366a77bf2ce4 554488f07cffa7ae3d793a9c3b997ad2e62dde6478deb56355bf2e99acdfefa28aa3865241728faa49b4a766bbb7d41ffc84ca78559a03b695f48245d0792033 33687a8bc3c39e1967876aa203e86cf2f8c5f8a7825920c3938d7a16207fbec3d74dfce1dbcd8bbb8419036144b22633358d40a6811d1f0033b4e0a4b0bfa81b aca31430e8a31dc335cfc7a584b0da09207c13112e954c3e4f1a1bd3285bd4e29be148b79c25d1284d62cc0ba08960ef474b7c27074bfdd3c5e3e998e8dfb959 445428a725bd6284c050570a29984b10f72b7777ca80338b2bbfc8a2b02f56366b4034e72819ddb597e8eee97301b65571960a00ae3ecede1b7516bac812896a ac874cebedeb3cc1e35d4fc77e916a13c2c2acebaa93dddf5895b17a78e71caee5cab6571568ea7730756b662fc90d05a92980a145672067e7f4beeb3b86957e ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 ) package() { find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }