From d075f92c0ad3edff958cee38b0c352dcde3c4d36 Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Sun, 22 May 2022 03:10:37 +0800 Subject: [PATCH] Update ttf files --- .SRCINFO | 22 ++++++++++++++++++---- PKGBUILD | 38 +++++++++++++++++++++++++++++++------- 2 files changed, 49 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 24e9010..a118a14 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = nerd-fonts-fantasque-sans-mono pkgdesc = Patched font FantasqueSansMono from the nerd-fonts library pkgver = 2.1.0 - pkgrel = 3 + pkgrel = 4 url = https://github.com/ryanoasis/nerd-fonts arch = any groups = nerd-fonts @@ -11,9 +11,23 @@ pkgbase = nerd-fonts-fantasque-sans-mono provides = ttf-font-nerd conflicts = nerd-fonts-git conflicts = nerd-fonts-complete - source = https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FantasqueSansMono.zip + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Regular/complete/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Regular/complete/Fantasque%20Sans%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Italic/complete/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Italic/complete/Fantasque%20Sans%20Mono%20Italic%20Nerd%20Font%20Complete%20Mono.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Bold/complete/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Bold/complete/Fantasque%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Bold-Italic/complete/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete.ttf + source = https://github.com/ryanoasis/nerd-fonts/raw/df6d602440f06695d3db372b45465632de264cc2/patched-fonts/FantasqueSansMono/Bold-Italic/complete/Fantasque%20Sans%20Mono%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf source = https://github.com/ryanoasis/nerd-fonts/raw/v2.1.0/LICENSE - sha1sums = f2808204e67eb80e1907e1416ed8a189aa93b06a - sha1sums = 92fdad3c8babc0473da5f03e41fb1151417ab386 + b2sums = 91c923c9b1a8c3a7dbd1314557d29cdb750d896582ca3a875db6a2f8e8fd18f35117af405165eac81a181d88c5b00565a921cb3503f3b825884d63a20bdaca98 + b2sums = e28ddd98f0b9440f31054a1dc7e70cf0d58684608da99256cdc75b47270e3ffe1d6de39b79e5c8a41d1fa3935ad7b651f1ce843e04f8878b219130e5d7af4856 + b2sums = 3dd4b87f36870faa3fe75ba24904b4bf9ef7470c617c99db5317fa27185c020251a3660317866d883727bbbd32110960cd2a1887e7cdead1d62b6c7c997a0f0e + b2sums = faa87fa056576543e6ddd1b9d8201d7b44b3f1367dc99ef78150ad5c77d0ad140c8177082577e00c0f83bfcd68bd840172bab870d3b4b46bf18fe54647c9a846 + b2sums = c08c590d9c6d067d08f112fae7c1e2d0b25fd96f63fdbffc138be8c3db257cd947b59af4e508866d0b6c93f397810af000fa5f01eac41fc29aafec10c41c5f7f + b2sums = 14081fb65cfdbce9570ee3f1e68a267755293d3da9b0e78f7379643845f4dc8cf8993eef3fd64059a15c376753b540cec20d95e747ac398be7dad7ebe192b35d + b2sums = 8238d7eb7bc928f881072655743eb86d8d8a6f543c0e1584f32e1430fadc9cb15109b823b60933fbf05f5c084d6d888d9a4c69361143be89622b08464b206c16 + b2sums = 16af2c0e600e77aa8e38dd905b5e073e62d3cd5ddc1841fe457d08aff7696814a80819a45e4398a656d64398a03d7276f191ecbe9ff6153e7444b289203ee146 + b2sums = ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 pkgname = nerd-fonts-fantasque-sans-mono diff --git a/PKGBUILD b/PKGBUILD index 25818ba..807e746 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,9 @@ -# Maintainer: Plague-doctor +# Maintainer: Plague-doctor +# Maintainer: Yiyang Kang pkgname=nerd-fonts-fantasque-sans-mono pkgver=2.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="Patched font FantasqueSansMono from the nerd-fonts library" arch=("any") url="https://github.com/ryanoasis/nerd-fonts" @@ -11,14 +12,37 @@ depends=('fontconfig') provides=('nerd-fonts-fantasque-sans-mono' 'ttf-font-nerd') conflicts=('nerd-fonts-git' 'nerd-fonts-complete') groups=("nerd-fonts") -source=("${url}/releases/download/v$pkgver/FantasqueSansMono.zip" - "${url}/raw/v$pkgver/LICENSE") -sha1sums=('f2808204e67eb80e1907e1416ed8a189aa93b06a' - '92fdad3c8babc0473da5f03e41fb1151417ab386') +_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 +) 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" } -