Compare commits

...

2 Commits

Author SHA1 Message Date
Yiyang Kang 8695993c24
upgpkg: nerd font 3.0.0 2023-05-06 11:04:26 +08:00
Yiyang Kang a0db4d9d51 chore: format with shfmt 2023-05-06 10:15:23 +08:00
2 changed files with 40 additions and 44 deletions

View File

@ -1,6 +1,6 @@
pkgbase = ttf-hack-nerd pkgbase = ttf-hack-nerd
pkgdesc = Patched font Hack from the nerd-fonts library pkgdesc = Patched font Hack from the nerd-fonts library
pkgver = 2.3.3 pkgver = 3.0.0
pkgrel = 1 pkgrel = 1
epoch = 2 epoch = 2
url = https://github.com/ryanoasis/nerd-fonts url = https://github.com/ryanoasis/nerd-fonts
@ -10,23 +10,23 @@ pkgbase = ttf-hack-nerd
provides = ttf-font-nerd provides = ttf-font-nerd
conflicts = nerd-fonts-git conflicts = nerd-fonts-git
conflicts = nerd-fonts-complete conflicts = nerd-fonts-complete
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Regular%20Nerd%20Font%20Complete.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFont-Bold.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Regular%20Nerd%20Font%20Complete%20Mono.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFont-BoldItalic.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Italic%20Nerd%20Font%20Complete.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFont-Italic.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Italic%20Nerd%20Font%20Complete%20Mono.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFont-Regular.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Bold%20Nerd%20Font%20Complete.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFontMono-Bold.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Bold%20Nerd%20Font%20Complete%20Mono.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFontMono-BoldItalic.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFontMono-Italic.ttf
source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/790766446144c45b25a73b59bf683efa35a5eda1/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf source = https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0/Hack/HackNerdFontMono-Regular.ttf
source = https://github.com/ryanoasis/nerd-fonts/raw/v2.3.3/LICENSE source = https://github.com/ryanoasis/nerd-fonts/raw/v3.0.0/LICENSE
b2sums = 06d0d126813a21ab0bbcb304385db72c6a13c3d4460ffea85f5d99f5db4116f1ea43717c4a64f8f5ba569284a1eb212b14dd74c945e100c6ee994ae77cdb4eb7 b2sums = 6a400357fe9131eff5a76a7a6750452f2205ad1207b94e03198e380585af8b126f54a7f70fd842941fbd75ca258960c0b30d5174090fc8d0fb4e92c06632756e
b2sums = 4ecb26477f236c56fb2008c913e20e18d892d83fb79f1a179c1cf6e51f70771804cc7672744080aaffadf499bae11ff29bad0811e3afbd2bb1eb65f414238826 b2sums = 58af1cd8202b30c03cbe2016d1b7ed92f47e80a7df455e587863a6db13a561dd5d52e690d2522ab50a03d46e73e5dfe1f33887ba143db6857a46a8b15671f2d6
b2sums = 55586af5fe53a72265699f738913bb9a47f1546255b6caa0a3377c79c106c0d6840624e6e5da64aedfccf6c4cf978524652c41bbd9555168110ece5efecb2374 b2sums = adb06a3b73248cb6b8a92ee681d2df761a574a0904269b5ff70e3bab11c03a4bef5643b37369e7e9cc2e8115b775eaa805f0e323edaafcd2621b359c4a9ef73c
b2sums = f5efd90bcdc79fc386e9fd99bddf2b22b72b7a9fda5e5577947d103f81e356a63672f23a04a6f113d0d625bae06420c1aad1509ad10552708747530181faa177 b2sums = 7f3589c490294b5e34166efb7a5d3d6bd6465d8a6426564497fe7d5647987ec5209aaaea056446c9d9ed31a25ecba00b895c687f7cf7c2d61ee20b9049b326a6
b2sums = 9d0b93f88c0728e7dbbc2b84d298a526016089e126b3523700a3c1b154ad964e95e242ceb059c01513328fa50b9b0a201610ce1db2c9246b36ba4af7b9f22078 b2sums = 8b7952cfcfa028517d227efa1ead61f3eed8ada5e8c48bc791237a2f508c1e86ce5efba4250018dc4ada9215996be474dce0ba055cc92bfdfef557678debb351
b2sums = e1897dc2e466473acc6582bd41e29b6a1de474645d0ea640b60e1eb1ff6214d8c2d2ab9e6f824886fde51f4d05290dc20e64dbe7d642a622e3d7d8652d7e0e0a b2sums = cfd1af68f0dfc224927761464d20a53debf68b795f4fa52a4fdc471ea15492a2094d0c520d3bf3ddf4318d74d887bb0a90d7145bb65cd0fe44018325113faeec
b2sums = 5e01e437b15aa4165381b32c02e18c8fe4815121313b674edf0fa79d6ce981c3d942194de96e6664d809cbb1f97cfdd69d0b871928bd7f26ca69394dd27ded6d b2sums = fce2d348dc268ed58d7d5a4dc9ad33faf4d9d9a8c75971c471a7006bc9c546058c0bd0f7f46a77d82f5a2ce0dc5602cb567482ccd0232935ba20ac69629e09e4
b2sums = a0f5e05c48054d9ea7e3cd479918a60201e7ece78e3fce2cb2375df2b64dbb3164d2bbf099944b5b765672b984a55ec0bbf80d7b212b0d0552dac7263210dd26 b2sums = 7241bc003a9633980fc9d19bbddb99ef92cb3e57d18d32211922ad73d01e86e0091794a428cadcc8d079dee5e61638d7fd008db4e3feb149627c196e9ba53203
b2sums = ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 b2sums = ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84
pkgname = ttf-hack-nerd pkgname = ttf-hack-nerd

View File

@ -3,7 +3,7 @@
pkgname=ttf-hack-nerd pkgname=ttf-hack-nerd
epoch=2 epoch=2
pkgver=2.3.3 pkgver=3.0.0
pkgrel=1 pkgrel=1
pkgdesc="Patched font Hack from the nerd-fonts library" pkgdesc="Patched font Hack from the nerd-fonts library"
arch=("any") arch=("any")
@ -12,36 +12,32 @@ license=('MIT')
depends=('fontconfig') depends=('fontconfig')
provides=('ttf-font-nerd') provides=('ttf-font-nerd')
conflicts=('nerd-fonts-git' 'nerd-fonts-complete') conflicts=('nerd-fonts-git' 'nerd-fonts-complete')
_commit=790766446144c45b25a73b59bf683efa35a5eda1 _commit=68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0
source=( 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/HackNerdFont-Bold.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/HackNerdFont-BoldItalic.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/HackNerdFont-Italic.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/HackNerdFont-Regular.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/HackNerdFontMono-Bold.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/HackNerdFontMono-BoldItalic.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/HackNerdFontMono-Italic.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/Hack%20Bold%20Italic%20Nerd%20Font%20Complete%20Mono.ttf" "https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/Hack/HackNerdFontMono-Regular.ttf"
"${url}/raw/v$pkgver/LICENSE" "${url}/raw/v$pkgver/LICENSE"
) )
b2sums=( b2sums=(
06d0d126813a21ab0bbcb304385db72c6a13c3d4460ffea85f5d99f5db4116f1ea43717c4a64f8f5ba569284a1eb212b14dd74c945e100c6ee994ae77cdb4eb7 6a400357fe9131eff5a76a7a6750452f2205ad1207b94e03198e380585af8b126f54a7f70fd842941fbd75ca258960c0b30d5174090fc8d0fb4e92c06632756e
4ecb26477f236c56fb2008c913e20e18d892d83fb79f1a179c1cf6e51f70771804cc7672744080aaffadf499bae11ff29bad0811e3afbd2bb1eb65f414238826 58af1cd8202b30c03cbe2016d1b7ed92f47e80a7df455e587863a6db13a561dd5d52e690d2522ab50a03d46e73e5dfe1f33887ba143db6857a46a8b15671f2d6
55586af5fe53a72265699f738913bb9a47f1546255b6caa0a3377c79c106c0d6840624e6e5da64aedfccf6c4cf978524652c41bbd9555168110ece5efecb2374 adb06a3b73248cb6b8a92ee681d2df761a574a0904269b5ff70e3bab11c03a4bef5643b37369e7e9cc2e8115b775eaa805f0e323edaafcd2621b359c4a9ef73c
f5efd90bcdc79fc386e9fd99bddf2b22b72b7a9fda5e5577947d103f81e356a63672f23a04a6f113d0d625bae06420c1aad1509ad10552708747530181faa177 7f3589c490294b5e34166efb7a5d3d6bd6465d8a6426564497fe7d5647987ec5209aaaea056446c9d9ed31a25ecba00b895c687f7cf7c2d61ee20b9049b326a6
9d0b93f88c0728e7dbbc2b84d298a526016089e126b3523700a3c1b154ad964e95e242ceb059c01513328fa50b9b0a201610ce1db2c9246b36ba4af7b9f22078 8b7952cfcfa028517d227efa1ead61f3eed8ada5e8c48bc791237a2f508c1e86ce5efba4250018dc4ada9215996be474dce0ba055cc92bfdfef557678debb351
e1897dc2e466473acc6582bd41e29b6a1de474645d0ea640b60e1eb1ff6214d8c2d2ab9e6f824886fde51f4d05290dc20e64dbe7d642a622e3d7d8652d7e0e0a cfd1af68f0dfc224927761464d20a53debf68b795f4fa52a4fdc471ea15492a2094d0c520d3bf3ddf4318d74d887bb0a90d7145bb65cd0fe44018325113faeec
5e01e437b15aa4165381b32c02e18c8fe4815121313b674edf0fa79d6ce981c3d942194de96e6664d809cbb1f97cfdd69d0b871928bd7f26ca69394dd27ded6d fce2d348dc268ed58d7d5a4dc9ad33faf4d9d9a8c75971c471a7006bc9c546058c0bd0f7f46a77d82f5a2ce0dc5602cb567482ccd0232935ba20ac69629e09e4
a0f5e05c48054d9ea7e3cd479918a60201e7ece78e3fce2cb2375df2b64dbb3164d2bbf099944b5b765672b984a55ec0bbf80d7b212b0d0552dac7263210dd26 7241bc003a9633980fc9d19bbddb99ef92cb3e57d18d32211922ad73d01e86e0091794a428cadcc8d079dee5e61638d7fd008db4e3feb149627c196e9ba53203
ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84 ece38b21e41c31a10260b2a99ea23661a945c11b5edbcb625b0e317be59050cc3bc04d72d4b36f94d89c263fd742d31b55f449057ad54a7e912cd1b472a38a84
) )
package() { package() {
for f in *.ttf; do
mv "$f" "${f//%20/ }"
done
find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; find . -iname "*.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"
} }