void-packages/srcpkgs/font-firacode-nf-ttf/template

19 lines
642 B
Bash

# Template file for 'font-firacode-nf-ttf'
pkgname=font-firacode-nf-ttf
version=3.2.1 # renovate ryanoasis/nerd-fonts
revision=2
homepage="https://nerdfonts.com/"
license="MIT"
depends="font-util"
short_desc="NerdFont patched Fira Code font"
maintainer="luca <luca@snaile.de>"
distfiles="https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/FiraCode.tar.xz"
conflicts="nerd-fonts-ttf"
font_dirs="/usr/share/fonts/NerdFonts/ttf"
checksum=def4b29f7aa0620a7fa12edb28197a2697680b5e21636fa3dcc602e08ae13bc4
do_install() {
vmkdir usr/share/fonts/NerdFonts/ttf/symbols
vcopy "*.ttf" usr/share/fonts/NerdFonts/ttf/symbols
}