void-packages/srcpkgs/font-fantasque-sans-ttf/template
2019-03-01 12:04:45 -03:00

22 lines
725 B
Bash

# Template file for 'font-fantasque-sans-ttf'
pkgname=font-fantasque-sans-ttf
version=1.7.2
revision=2
create_wrksrc=yes
archs=noarch
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="OFL-1.1"
homepage="https://fontlibrary.org/en/font/fantasque-sans-mono"
distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.tar.gz"
checksum=8d96295a75a71d6ddb3a905ff8db993bd6990602d3b38dd4428827af8f6ef2f7
do_install() {
vmkdir usr/share/fonts/TTF
vcopy TTF/*.ttf usr/share/fonts/TTF
# dos2unix
sed -i LICENSE.txt -e 's;\r;;g'
vlicense LICENSE.txt
}