23 lines
720 B
Bash
23 lines
720 B
Bash
|
# 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
|
||
|
}
|