49 lines
3.3 KiB
Bash
49 lines
3.3 KiB
Bash
# Maintainer: Plague-doctor <plague at privacyrequired dot com>
|
|
# Maintainer: Yiyang Kang <kkyy%40kkyy.me>
|
|
|
|
pkgname=nerd-fonts-fantasque-sans-mono
|
|
pkgver=2.1.0
|
|
pkgrel=5
|
|
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=ee8ddf46b9f0143ab2dc9816e9e150bf434d875e
|
|
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=(
|
|
ccdc2fe1be68d8e441879c907ad853ce83d01427f07e57fb1e9509426dee746296efc5991c5ed908d8b9b6a54ddf9a32d025ac1b3d94cbb2c183fcf79ea413c4
|
|
5dce9cf06e17791894eff4968646646e777a09ec8886ace8e15d84d92e6891e7b1d48e015a95c8b872798b5da2e83a0979ca5e47849511ed0fad86d76a35163b
|
|
ab4913b46950ae65509f8e24a06f88137bd0c3091596cc5bb0cb2417eaf73af63d1e59522086aff611ae7987852d925041ff4192d4685db53e4aa5d3b186775c
|
|
04febd231cb705be03f35bcd1f7e85105334220117c9542bf04aa26423bb9b490c97b0314ec2eaac0432c353d7c070af68504274899e1fdcc221dacc24d6f536
|
|
75055c8cbc584f66965db95bdf3f62683239b9b8a43063441b758c19d91e048175a6b4c60fc46416bc25b185fd99ecb9996a915346612f561298d8616050c090
|
|
643887e4fe416021f4ffff3fb032b1ad7d785fee7dc02609bd1d41a5d99011b2577505596b65d22e8cf18c3fc082613ccfab73418c3beb8c2abeaa667cea25ab
|
|
809191b8cb2f4a4e8e787f8986d50496fe0c12067facaedd090a31ee3c01dbb85a8a5681e545d37fc6f5f9d1d4536ee655ecf88bf55c8cd6328a6f3e77c12bca
|
|
0cf55382da331eeb01266348c38c57f2d694b271a48a7826785c895969331c5bc81904f354b5b6d40d18d70c5b0dc87fe9a000ed009e9c5af122384da14f76eb
|
|
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"
|
|
}
|