New package: font-fantasque-sans-ttf

Closes: #9961
This commit is contained in:
Jürgen Buchmüller 2017-12-31 22:58:16 +01:00
parent 2c40f00f13
commit f5e875907d

View file

@ -0,0 +1,22 @@
# Template file for 'font-fantasque-sans-ttf'
pkgname=font-fantasque-sans-ttf
version=1.7.1
revision=1
create_wrksrc=yes
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
depends="font-util xbps-triggers"
short_desc="A handwriting-like programming typeface"
maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
license="SIL Open Font License"
homepage="https://fontlibrary.org/en/font/fantasque-sans-mono"
distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono.tar.gz"
checksum=96112ca66ae1e1f1b1a138b965c209a46d869e65382241394b6d47936fa65380
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttf usr/share/fonts/TTF
# dos2unix
sed -i OFL.txt -e 's;\r;;g'
vlicense OFL.txt
}