2017-12-31 22:58:16 +01:00
|
|
|
# Template file for 'font-fantasque-sans-ttf'
|
|
|
|
pkgname=font-fantasque-sans-ttf
|
2018-01-17 20:11:46 +01:00
|
|
|
version=1.7.2
|
2017-12-31 22:58:16 +01:00
|
|
|
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"
|
2018-01-17 20:11:46 +01:00
|
|
|
distfiles="https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.tar.gz"
|
|
|
|
checksum=8d96295a75a71d6ddb3a905ff8db993bd6990602d3b38dd4428827af8f6ef2f7
|
2017-12-31 22:58:16 +01:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/TTF
|
2018-01-17 20:11:46 +01:00
|
|
|
vcopy TTF/*.ttf usr/share/fonts/TTF
|
2017-12-31 22:58:16 +01:00
|
|
|
# dos2unix
|
2018-01-17 20:11:46 +01:00
|
|
|
sed -i LICENSE.txt -e 's;\r;;g'
|
|
|
|
vlicense LICENSE.txt
|
2017-12-31 22:58:16 +01:00
|
|
|
}
|