From a0db4d9d51a4eeaca925eb9e47b556871599ee31 Mon Sep 17 00:00:00 2001 From: Yiyang Kang Date: Sat, 6 May 2023 10:15:23 +0800 Subject: [PATCH] chore: format with shfmt --- PKGBUILD | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 9c5d299..2b60d61 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,34 +14,34 @@ provides=('ttf-font-nerd') conflicts=('nerd-fonts-git' 'nerd-fonts-complete') _commit=790766446144c45b25a73b59bf683efa35a5eda1 source=( - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Regular%20Nerd%20Font%20Complete.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Regular%20Nerd%20Font%20Complete%20Mono.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Italic%20Nerd%20Font%20Complete.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Nerd%20Font%20Complete.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Nerd%20Font%20Complete%20Mono.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete.ttf" - "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" - "${url}/raw/v$pkgver/LICENSE" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Regular%20Nerd%20Font%20Complete.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Regular%20Nerd%20Font%20Complete%20Mono.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Italic%20Nerd%20Font%20Complete.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Nerd%20Font%20Complete.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Nerd%20Font%20Complete%20Mono.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete.ttf" + "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" + "${url}/raw/v$pkgver/LICENSE" ) b2sums=( - 06d0d126813a21ab0bbcb304385db72c6a13c3d4460ffea85f5d99f5db4116f1ea43717c4a64f8f5ba569284a1eb212b14dd74c945e100c6ee994ae77cdb4eb7 - 4ecb26477f236c56fb2008c913e20e18d892d83fb79f1a179c1cf6e51f70771804cc7672744080aaffadf499bae11ff29bad0811e3afbd2bb1eb65f414238826 - 55586af5fe53a72265699f738913bb9a47f1546255b6caa0a3377c79c106c0d6840624e6e5da64aedfccf6c4cf978524652c41bbd9555168110ece5efecb2374 - f5efd90bcdc79fc386e9fd99bddf2b22b72b7a9fda5e5577947d103f81e356a63672f23a04a6f113d0d625bae06420c1aad1509ad10552708747530181faa177 - 9d0b93f88c0728e7dbbc2b84d298a526016089e126b3523700a3c1b154ad964e95e242ceb059c01513328fa50b9b0a201610ce1db2c9246b36ba4af7b9f22078 - e1897dc2e466473acc6582bd41e29b6a1de474645d0ea640b60e1eb1ff6214d8c2d2ab9e6f824886fde51f4d05290dc20e64dbe7d642a622e3d7d8652d7e0e0a - 5e01e437b15aa4165381b32c02e18c8fe4815121313b674edf0fa79d6ce981c3d942194de96e6664d809cbb1f97cfdd69d0b871928bd7f26ca69394dd27ded6d - a0f5e05c48054d9ea7e3cd479918a60201e7ece78e3fce2cb2375df2b64dbb3164d2bbf099944b5b765672b984a55ec0bbf80d7b212b0d0552dac7263210dd26 - ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 + 06d0d126813a21ab0bbcb304385db72c6a13c3d4460ffea85f5d99f5db4116f1ea43717c4a64f8f5ba569284a1eb212b14dd74c945e100c6ee994ae77cdb4eb7 + 4ecb26477f236c56fb2008c913e20e18d892d83fb79f1a179c1cf6e51f70771804cc7672744080aaffadf499bae11ff29bad0811e3afbd2bb1eb65f414238826 + 55586af5fe53a72265699f738913bb9a47f1546255b6caa0a3377c79c106c0d6840624e6e5da64aedfccf6c4cf978524652c41bbd9555168110ece5efecb2374 + f5efd90bcdc79fc386e9fd99bddf2b22b72b7a9fda5e5577947d103f81e356a63672f23a04a6f113d0d625bae06420c1aad1509ad10552708747530181faa177 + 9d0b93f88c0728e7dbbc2b84d298a526016089e126b3523700a3c1b154ad964e95e242ceb059c01513328fa50b9b0a201610ce1db2c9246b36ba4af7b9f22078 + e1897dc2e466473acc6582bd41e29b6a1de474645d0ea640b60e1eb1ff6214d8c2d2ab9e6f824886fde51f4d05290dc20e64dbe7d642a622e3d7d8652d7e0e0a + 5e01e437b15aa4165381b32c02e18c8fe4815121313b674edf0fa79d6ce981c3d942194de96e6664d809cbb1f97cfdd69d0b871928bd7f26ca69394dd27ded6d + a0f5e05c48054d9ea7e3cd479918a60201e7ece78e3fce2cb2375df2b64dbb3164d2bbf099944b5b765672b984a55ec0bbf80d7b212b0d0552dac7263210dd26 + ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 ) package() { - for f in *.ttf; do - mv "$f" "${f//%20/ }" - done + for f in *.ttf; do + mv "$f" "${f//%20/ }" + done - find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }