# Template file for 'font-adobe-source-serif-pro'
# v4 is SourceSerif, without Pro in name, don't update, it breaks documents
pkgname=font-adobe-source-serif-pro
version=3.001R
revision=1
depends="font-util"
short_desc="Adobe's sans serif font family"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="OFL-1.1"
homepage="https://adobe-fonts.github.io/source-serif"
#changelog=""
distfiles="https://github.com/adobe-fonts/source-serif/releases/download/${version}/source-serif-pro-${version}.zip"
checksum=e061cf3184c60fb8811ffb429d82083f6dd16810250b71e676e5fa1abb1e5934
font_dirs="/usr/share/fonts/OTF/adobe /usr/share/fonts/TTF/adobe"

do_install() {
	vmkdir usr/share/fonts/OTF/adobe
	vcopy "OTF/*.otf" usr/share/fonts/OTF/adobe
	vmkdir usr/share/fonts/TTF/adobe
	vcopy "TTF/*.ttf" usr/share/fonts/TTF/adobe
}
