nerd-fonts-fantasque-sans-mono/PKGBUILD

45 lines
3.0 KiB
Bash
Raw Normal View History

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=ttf-fantasque-sans-mono-nerd
epoch=2
2023-05-06 12:08:31 +09:00
pkgver=3.0.0
pkgrel=1
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')
provides=('ttf-font-nerd')
2018-10-22 16:54:15 +09:00
conflicts=('nerd-fonts-git' 'nerd-fonts-complete')
2023-05-06 12:08:31 +09:00
_commit=68ed8bf33392e2cfe5e338bd56a8c86e5a5461a0
2022-05-22 04:10:37 +09:00
source=(
2023-05-06 12:08:31 +09:00
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFont-Bold.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFont-BoldItalic.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFont-Italic.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFont-Regular.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFontMono-Bold.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFontMono-BoldItalic.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFontMono-Italic.ttf"
"https://git.gensokyo.cafe/kkyy/nerd-fonts-patched-fonts/raw/commit/$_commit/FantasqueSansMono/FantasqueSansMNerdFontMono-Regular.ttf"
2023-05-06 12:05:08 +09:00
"LICENSE"
2022-05-22 04:10:37 +09:00
)
b2sums=(
2023-05-06 12:08:31 +09:00
10a9f2167c3ec770920737b6aa4aef753fc44ec73e1ba6782e48329999ddd20ccaa852dca4c16ece3e3466c8f0919689457ce6ea4ef33d22309b52b11fe9da20
aa06ae5c25aea71a90ae6c5e1f94e1e311e5a2541673d25c3859b39df0340cd4fea10cec518f41a8cc0e005e91b47cc3b4b945b0204b8e7385011bc5e7c818fa
a9e0b2e73f705ddf431520d8810708551ea0bca1b8aeaaf15c0b309d0874aa7b104b3c7be10e8715d8553e393b0ed577deece0d42e1a80d65f91fd3d3edd09b4
b020beabbf431e02c36b75233725e8eb8915a22470dea8eed800bb355d5764cc992687232ec62f858f3c72503bb0a6690518612856e943dbb06191ec30a98d74
1c1894e5ccdc261d69e15eb34b79c4481999665707eb57acd49f965b1a6e324967961f970df838f7533ad078d335204e303bbb85f8677b411bf3e0a7af535918
772b558d4cc3071504ee604d6cc618936b905e5128839e6a557760699467e1343758b557e4dac171263979574dce3334324598d97646181c4875fdcfd030b20a
fa7447b6845c99bca61b6bc4dd11321c19ff9b5c381f76ee4bc2679815a0a5cf291a62e22e43f747d3a659773832e0b41a5c70111f324779f72ccd34b85c7cde
9170c4307db08cd47a32a776be9b57a8e8d101a36c86f0cf6aaa8ed0f9d5d5ef61616b7930d07d8a56119ef2b433d2fe8c5c83c4a83712703dd857ebd54c7bc3
2023-05-06 12:05:08 +09:00
386dfcb5ead367bfc44fc55f7e94548c03bdb24ca088ab56f9609e7cdaa3eab9c56b548966feaf7312da606b645e9af35556fc212132733efcdbcc17397c808a
2022-05-22 04:10:37 +09:00
)
2018-10-22 16:54:15 +09:00
package() {
2023-05-06 12:05:08 +09:00
find . -iname "*.ttf" -not -iname "*Windows Compatible.ttf" \
2018-10-22 16:54:15 +09:00
-execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \;
2023-05-06 12:05:08 +09:00
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2018-10-22 16:54:15 +09:00
}