void-packages/srcpkgs/font-adobe-source-sans-pro-v2/template

20 lines
767 B
Bash

# Template file for 'font-adobe-source-sans-pro-v2'
pkgname=font-adobe-source-sans-pro-v2
version=2.045
revision=1
depends="font-util"
short_desc="Real SourceSansPro fonts"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="OFL-1.1"
homepage="https://github.com/adobe-fonts/source-sans"
distfiles="https://github.com/adobe-fonts/source-sans/releases/download/${version}R-ro%2F1.095R-it/source-sans-pro-${version}R-ro-1.095R-it.zip"
checksum=5f090b821e117f452ef399c3c1b8b244c1647728a1e901c4d167cbf7fc298ab6
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
}