new package: ttf and otf versions of source-code-pro

This commit is contained in:
Mattias Giese 2015-05-31 23:17:18 +02:00
parent 5f7498c240
commit 6b9d3be683

View file

@ -0,0 +1,22 @@
# 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="SIL Open Font License 1.1"
distfiles="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.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
}