void-packages/srcpkgs/font-firacode/template

19 lines
640 B
Bash

# Template file for 'font-firacode'
pkgname=font-firacode
version=6
revision=1
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=a4997c2f905fb20a6d814baf7b9bab7df7de574a8e87d6af509685a43291caf1
font_dirs="/usr/share/fonts/TTF"
do_install() {
install -Dm644 ttf/* -t ${DESTDIR}/${font_dirs}
}