25 lines
865 B
Bash
25 lines
865 B
Bash
# Maintainer: Plague-doctor <plague at privacyrequired dot com >
|
|
|
|
pkgname=nerd-fonts-fantasque-sans-mono
|
|
pkgver=2.1.0
|
|
pkgrel=3
|
|
pkgdesc="Patched font FantasqueSansMono from the nerd-fonts library"
|
|
arch=("any")
|
|
url="https://github.com/ryanoasis/nerd-fonts"
|
|
license=('MIT')
|
|
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')
|
|
|
|
package() {
|
|
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"
|
|
}
|
|
|