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

21 lines
758 B
Bash

# Template file for 'source-sans-pro'
pkgname=source-sans-pro
version=3.028
revision=1
wrksrc="source-sans-pro-${version}R"
depends="font-util"
short_desc="Sans serif font family for user interface environments"
maintainer="WantToHelp <ghostinthecsh@gmail.com>"
license="OFL-1.1"
homepage="https://adobe-fonts.github.io/source-sans-pro/"
distfiles="https://github.com/adobe-fonts/source-sans-pro/archive/${version}R.tar.gz"
checksum=12faf267e40f1be46daf44afce47facd6efb996e2f2f5abe0a3dde161d54e251
font_dirs="/usr/share/fonts/OTF /usr/share/fonts/TTF"
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
}