# Template file for 'font-adobe-source-code-pro'
pkgname=font-adobe-source-code-pro
version=2.038R~ro+1.058R~it+1.018R~VAR
revision=1
_version="${version//\~/-}"
wrksrc="source-code-pro-${_version//+/-}"
depends="font-util"
short_desc="Monospaced font family for user interface and coding environments"
maintainer="Piero La Terza <platerza@protonmail.com>"
license="OFL-1.1"
homepage="https://adobe-fonts.github.io/source-code-pro/"
distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${_version//+//}.tar.gz"
checksum=d8f879fefd66ecb7291ea2d73984b9c0a97fb499424e58290ba6b81787d0c725
font_dirs="/usr/share/fonts/OTF/"

do_install() {
	for i in ${wrksrc}/*/*.otf; do
		vinstall $i 644 usr/share/fonts/OTF/
	done
}

font-sourcecodepro_package() {
	build_style=meta
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
}
