23 lines
802 B
Bash
23 lines
802 B
Bash
# Template file for 'source-sans-pro'
|
|
pkgname=source-sans-pro
|
|
version=2.040
|
|
revision=1
|
|
_relver="2.040R-ro/1.090R-it"
|
|
noarch=yes
|
|
wrksrc="source-sans-pro-${_relver/\//-}"
|
|
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/${_relver}.tar.gz"
|
|
checksum=6053d4d26f9df1482d0898e52bef7a9a92bf478635bc8ce01d45df164583ebf2
|
|
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
|
|
}
|