chore: format with shfmt
This commit is contained in:
parent
35ccf31c2f
commit
b5380ab29a
46
PKGBUILD
46
PKGBUILD
|
@ -14,35 +14,35 @@ 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/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"
|
||||
"LICENSE"
|
||||
"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"
|
||||
"LICENSE"
|
||||
)
|
||||
|
||||
b2sums=(
|
||||
3188f1b50b44063570832be44a93cba837d18f807c901804a1bac603ef9430d92adf1509483404db48e1d6493b1fd9dc4419ad472c5e9e9c088bf3feae02c83f
|
||||
91a0e2ed6e5967b836e4a7678cd902dfc7ea8964682f78a6f0a2d06c7d53fc09518174bbf4279029f7c7c0f7c6d74eaf2de6048deb729221c4f6647af5e63ae4
|
||||
ba30aa503ddf886a27752e7f55e8ae247c308266cf92dbecc05de907575e72e4c9ebae28874e3204a6d0fe4e5b638e91e37d027e3b459da58e9002d3efc83dc3
|
||||
61e0ef464a1e58028438adda74c08ebbe5a1b49028c629f5901b5af9d4964414f34773a5d08f5eefd2ea27b2e28514e7cf4a516a6f1bdd094741a3a16f36f97e
|
||||
b6fb991bb710ab3d30633692bf121026e748eff20f8eab1ba0204925f66d10b70347aa0d6a4486b592e0b34036f6483e716773efe0dceee50403dcee48351d64
|
||||
02b82c0e7d0c926fb9f615876f597d9edd3f1bc25bed4e742f30ef5714d9c936f57fb1c47538d843edb53f69838a9e51e06947b242de5c039e49233907cca17f
|
||||
e23cdc4dd678c3cc233f36413bd64b9d5d12e80ec346682331f6208efa703fccab12867212b0125c4c6db904c5e910f42741260d6ac35b1e8dcaeba52b7c9969
|
||||
eccd2e6983939754ed36e7f24df5e2fb751532efd2fad66f532223df907b9c79422c507c14af605102d17b28f6b26b64ef144ffac2d6b8034aaddac329b14d7f
|
||||
386dfcb5ead367bfc44fc55f7e94548c03bdb24ca088ab56f9609e7cdaa3eab9c56b548966feaf7312da606b645e9af35556fc212132733efcdbcc17397c808a
|
||||
3188f1b50b44063570832be44a93cba837d18f807c901804a1bac603ef9430d92adf1509483404db48e1d6493b1fd9dc4419ad472c5e9e9c088bf3feae02c83f
|
||||
91a0e2ed6e5967b836e4a7678cd902dfc7ea8964682f78a6f0a2d06c7d53fc09518174bbf4279029f7c7c0f7c6d74eaf2de6048deb729221c4f6647af5e63ae4
|
||||
ba30aa503ddf886a27752e7f55e8ae247c308266cf92dbecc05de907575e72e4c9ebae28874e3204a6d0fe4e5b638e91e37d027e3b459da58e9002d3efc83dc3
|
||||
61e0ef464a1e58028438adda74c08ebbe5a1b49028c629f5901b5af9d4964414f34773a5d08f5eefd2ea27b2e28514e7cf4a516a6f1bdd094741a3a16f36f97e
|
||||
b6fb991bb710ab3d30633692bf121026e748eff20f8eab1ba0204925f66d10b70347aa0d6a4486b592e0b34036f6483e716773efe0dceee50403dcee48351d64
|
||||
02b82c0e7d0c926fb9f615876f597d9edd3f1bc25bed4e742f30ef5714d9c936f57fb1c47538d843edb53f69838a9e51e06947b242de5c039e49233907cca17f
|
||||
e23cdc4dd678c3cc233f36413bd64b9d5d12e80ec346682331f6208efa703fccab12867212b0125c4c6db904c5e910f42741260d6ac35b1e8dcaeba52b7c9969
|
||||
eccd2e6983939754ed36e7f24df5e2fb751532efd2fad66f532223df907b9c79422c507c14af605102d17b28f6b26b64ef144ffac2d6b8034aaddac329b14d7f
|
||||
386dfcb5ead367bfc44fc55f7e94548c03bdb24ca088ab56f9609e7cdaa3eab9c56b548966feaf7312da606b645e9af35556fc212132733efcdbcc17397c808a
|
||||
)
|
||||
|
||||
package() {
|
||||
for f in *.ttf; do
|
||||
mv "$f" "${f//%20/ }"
|
||||
done
|
||||
for f in *.ttf; do
|
||||
mv "$f" "${f//%20/ }"
|
||||
done
|
||||
|
||||
find . -iname "*.ttf" -not -iname "*Windows Compatible.ttf" \
|
||||
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"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue