2022-05-22 04:10:37 +09:00
|
|
|
# Maintainer: Plague-doctor <plague at privacyrequired dot com>
|
|
|
|
# Maintainer: Yiyang Kang <kkyy%40kkyy.me>
|
2018-10-22 16:54:15 +09:00
|
|
|
|
|
|
|
pkgname=nerd-fonts-fantasque-sans-mono
|
2020-05-23 17:27:23 +09:00
|
|
|
pkgver=2.1.0
|
2022-05-22 04:10:37 +09:00
|
|
|
pkgrel=4
|
2018-10-22 16:54:15 +09:00
|
|
|
pkgdesc="Patched font FantasqueSansMono from the nerd-fonts library"
|
|
|
|
arch=("any")
|
|
|
|
url="https://github.com/ryanoasis/nerd-fonts"
|
|
|
|
license=('MIT')
|
|
|
|
depends=('fontconfig')
|
2021-09-30 07:29:13 +09:00
|
|
|
provides=('nerd-fonts-fantasque-sans-mono' 'ttf-font-nerd')
|
2018-10-22 16:54:15 +09:00
|
|
|
conflicts=('nerd-fonts-git' 'nerd-fonts-complete')
|
|
|
|
groups=("nerd-fonts")
|
2022-05-22 04:10:37 +09:00
|
|
|
_commit=df6d602440f06695d3db372b45465632de264cc2
|
|
|
|
source=(
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Regular/complete/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Regular/complete/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Italic/complete/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Italic/complete/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete%20Mono.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Bold/complete/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Bold/complete/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Bold-Italic/complete/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete.ttf"
|
|
|
|
"https://github.com/ryanoasis/nerd-fonts/raw/$_commit/patched-fonts/FantasqueSansMono/Bold-Italic/complete/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf"
|
|
|
|
"${url}/raw/v$pkgver/LICENSE"
|
|
|
|
)
|
|
|
|
|
|
|
|
b2sums=(
|
|
|
|
91c923c9b1a8c3a7dbd1314557d29cdb750d896582ca3a875db6a2f8e8fd18f35117af405165eac81a181d88c5b00565a921cb3503f3b825884d63a20bdaca98
|
|
|
|
e28ddd98f0b9440f31054a1dc7e70cf0d58684608da99256cdc75b47270e3ffe1d6de39b79e5c8a41d1fa3935ad7b651f1ce843e04f8878b219130e5d7af4856
|
|
|
|
3dd4b87f36870faa3fe75ba24904b4bf9ef7470c617c99db5317fa27185c020251a3660317866d883727bbbd32110960cd2a1887e7cdead1d62b6c7c997a0f0e
|
|
|
|
faa87fa056576543e6ddd1b9d8201d7b44b3f1367dc99ef78150ad5c77d0ad140c8177082577e00c0f83bfcd68bd840172bab870d3b4b46bf18fe54647c9a846
|
|
|
|
c08c590d9c6d067d08f112fae7c1e2d0b25fd96f63fdbffc138be8c3db257cd947b59af4e508866d0b6c93f397810af000fa5f01eac41fc29aafec10c41c5f7f
|
|
|
|
14081fb65cfdbce9570ee3f1e68a267755293d3da9b0e78f7379643845f4dc8cf8993eef3fd64059a15c376753b540cec20d95e747ac398be7dad7ebe192b35d
|
|
|
|
8238d7eb7bc928f881072655743eb86d8d8a6f543c0e1584f32e1430fadc9cb15109b823b60933fbf05f5c084d6d888d9a4c69361143be89622b08464b206c16
|
|
|
|
16af2c0e600e77aa8e38dd905b5e073e62d3cd5ddc1841fe457d08aff7696814a80819a45e4398a656d64398a03d7276f191ecbe9ff6153e7444b289203ee146
|
|
|
|
ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84
|
|
|
|
)
|
2018-10-22 16:54:15 +09:00
|
|
|
|
|
|
|
package() {
|
2022-05-22 04:10:37 +09:00
|
|
|
for f in *.ttf; do
|
|
|
|
mv "$f" "${f//%20/ }"
|
|
|
|
done
|
|
|
|
|
2018-10-22 16:54:15 +09:00
|
|
|
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"
|
|
|
|
}
|