void-packages/srcpkgs/font-sourcecodepro/template

23 lines
817 B
Bash
Raw Normal View History

# Template file for 'font-sourcecodepro'
pkgname=font-sourcecodepro
version=1.017R
revision=1
noarch=yes
wrksrc=source-code-pro-${version}
hostmakedepends="unzip"
depends="font-util xbps-triggers>=0.58"
font_dirs="/usr/share/fonts/OTF /usr/share/fonts/TTF"
short_desc="Monospaced font family for user interface and coding environments"
maintainer="Mattias Giese <mattias@s99.be>"
homepage="http://adobe-fonts.github.io/source-code-pro/"
license="OFL-1.1"
distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}.zip"
checksum=6753300ddc8f7c1e40bb64e3b0842ba0abcafa3cb92889d7c7a1ba2c8b0dfa82
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
}