# Maintainer: Plague-doctor # Maintainer: Yiyang Kang pkgname=nerd-fonts-fantasque-sans-mono pkgver=2.2.2 pkgrel=2 pkgdesc="Patched font FantasqueSansMono from the nerd-fonts library" arch=("any") url="https://github.com/ryanoasis/nerd-fonts" license=('MIT') depends=('fontconfig') provides=('nerd-fonts-fantasque-sans-mono' 'ttf-font-nerd') conflicts=('nerd-fonts-git' 'nerd-fonts-complete') groups=("nerd-fonts") _commit=d3e23fcf2cf9dc8737cbe62c82d03ff99a1ec6af source=( "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" "${url}/raw/v$pkgver/LICENSE" ) b2sums=( 0b88fcd6b381fa1b10540a26d099bfaf83227a0862d78fc6bf4495bbecbea06ff44fba0ac76e91ee5393fb55d61e6e5aef7fa7fd0ec1133946941f69efa3f6b3 4b697677542475616df3e868fe2cfff1228e443886bacbe961e9cf373a57992921ef0b40db64cd13b234ec87a61522f6b7c74a6ce073c62e031d7e59dcd1a9b6 b52afdb6c56a094462024097441d2c7eb94eb804d13ac69024b1b49303a870a3cca0303700a439aaf04e09b748937d5380c5e5e5a74f209995befbba4bc7b454 a468fc2a7eee0c800210a13cbb7e2dbc6554448dea7e3e402193061ffe467cb2d6ae25396af5a8895446af2ac527e2a4696c2c355376f8c049013678862c0794 f5097e24f271dc8b239b1c3028ff3eb773815d27b51da16e13a67a778eaf550e08aa8a0519ccb3816d64cdd80517e41f7d84ce640d2485a42c936696b97f32b2 cb11bb949fec562222b459fbf25e6ea157329f293b70d59c1184fcea7b321f4d6e1086180cf9f516499bdf3fd0c282d703eeaf5e4c5f5263e7d2615f531709eb dc2ff58e9a2c780087eb70a211c68527eb384e0fdba7caf28c7f1f3c2d59d7433f7c6057baa7d84585948401c695748182d1fa530e9245d42a6630c489acb7f7 984b921fb54da297b45ff53ac0a1dd2ceacd2dc56a1ae16fd79c88f5a69e58703bd3c5cbd0bb7866a34322b28a8068ef8f85e9164d0bb13fd6f65ecc54874731 ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 ) package() { for f in *.ttf; do mv "$f" "${f//%20/ }" done find . -iname "*.ttf" -not -iname "*Windows Compatible.ttf" \ -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }