void-packages/srcpkgs/source-sans-pro/template

23 lines
802 B
Bash

# Template file for 'source-sans-pro'
pkgname=source-sans-pro
version=2.020ro+1.075it
revision=1
_relver="2.020R-ro/1.075R-it"
noarch=yes
wrksrc="${pkgname}-${_relver/\//-}"
depends="font-util"
font_dirs="/usr/share/fonts/OTF /usr/share/fonts/TTF"
short_desc="Sans serif font family for user interface environments"
maintainer="WantToHelp <ghostinthecsh@gmail.com>"
homepage="https://adobe-fonts.github.io/source-sans-pro/"
license="OFL-1.1"
distfiles="https://github.com/adobe-fonts/${pkgname}/archive/${_relver}.tar.gz"
checksum=bb45283fa9979c4821c99da3b54313012821aba0246e2ec0057f2b03ca24912c
do_install() {
vmkdir usr/share/fonts/TTF
vmkdir usr/share/fonts/OTF
install -m644 ${wrksrc}/TTF/*.ttf ${DESTDIR}/usr/share/fonts/TTF
install -m644 ${wrksrc}/OTF/*.otf ${DESTDIR}/usr/share/fonts/OTF
}