void-packages/srcpkgs/font-firacode/template

19 lines
642 B
Bash

# Template file for 'font-firacode'
pkgname=font-firacode
version=5.2
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
short_desc="FiraCode: monospaced font with programming ligatures"
maintainer="Issam Maghni <me@concati.me>"
license="OFL-1.1"
homepage="https://github.com/tonsky/FiraCode"
changelog="https://github.com/tonsky/FiraCode/raw/master/CHANGELOG.md"
distfiles="https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip"
checksum=521a72be00dd22678d248e63f817c0c79c1b6f23a4fbd377eba73d30cdca5efd
font_dirs="/usr/share/fonts/TTF"
do_install() {
install -Dm644 ttf/* -t ${DESTDIR}/${font_dirs}
}