void-packages/srcpkgs/font-firacode/template

20 lines
638 B
Bash

# Template file for 'font-firacode'
pkgname=font-firacode
version=2
revision=1
archs=noarch
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/${pkgname#*-}"
changelog="https://github.com/tonsky/FiraCode/raw/master/CHANGELOG.md"
distfiles="${homepage}/releases/download/${version}/${pkgname#*-}_${version}.zip"
checksum=60d5b1106b708cc134c521aae4e503bb1d2ec3c9bf8ad978f2c659820505d492
font_dirs="/usr/share/fonts/OTF"
do_install() {
install -Dm644 otf/* -t ${DESTDIR}/${font_dirs}
}