void-packages/srcpkgs/font-firacode/template

20 lines
642 B
Bash

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