xorg-font-sourcecode-otf: initial release.

This commit is contained in:
Fredrik Rinnestam 2013-06-07 23:41:20 +02:00
parent 2fed7c67f3
commit 2b2409c9e8
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,12 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/fonts/
drwxr-xr-x root/root usr/share/fonts/X11/
drwxr-xr-x root/root usr/share/fonts/X11/OTF/
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Black.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Bold.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-ExtraLight.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Light.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Medium.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Regular.otf
-rw-r--r-- root/root usr/share/fonts/X11/OTF/SourceCodePro-Semibold.otf

View File

@ -0,0 +1 @@
e59ce4be04d44c22e380865142bad0e3 SourceCodePro_FontsOnly-1.017.zip

View File

@ -0,0 +1,17 @@
# Description: A set of monospaced OpenType fonts designed for coding environments
# URL: http://sourceforge.net/projects/sourcecodepro.adobe/
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: xorg-mkfontdir xorg-mkfontscale fontconfig
name=xorg-font-sourcecode-otf
version=1.017
release=1
source=(http://sourceforge.net/projects/sourcecodepro.adobe/files/SourceCodePro_FontsOnly-$version.zip)
build() {
cd SourceCodePro_FontsOnly-$version
install -d -m 0755 $PKG/usr/share/fonts/X11/OTF
install -m 0644 OTF/*.otf $PKG/usr/share/fonts/X11/OTF
}

View File

@ -0,0 +1,5 @@
#!/bin/sh
fc-cache /usr/share/fonts/X11/OTFF
mkfontscale /usr/share/fonts/X11/OTF
mkfontdir /usr/share/fonts/X11/OTF