From 2b2409c9e8aa85d4fe44f0c49de697011ec96c7c Mon Sep 17 00:00:00 2001 From: Fredrik Rinnestam Date: Fri, 7 Jun 2013 23:41:20 +0200 Subject: [PATCH] xorg-font-sourcecode-otf: initial release. --- xorg-font-sourcecode-otf/.footprint | 12 ++++++++++++ xorg-font-sourcecode-otf/.md5sum | 1 + xorg-font-sourcecode-otf/Pkgfile | 17 +++++++++++++++++ xorg-font-sourcecode-otf/post-install | 5 +++++ 4 files changed, 35 insertions(+) create mode 100644 xorg-font-sourcecode-otf/.footprint create mode 100644 xorg-font-sourcecode-otf/.md5sum create mode 100644 xorg-font-sourcecode-otf/Pkgfile create mode 100755 xorg-font-sourcecode-otf/post-install diff --git a/xorg-font-sourcecode-otf/.footprint b/xorg-font-sourcecode-otf/.footprint new file mode 100644 index 000000000..7b9472ad9 --- /dev/null +++ b/xorg-font-sourcecode-otf/.footprint @@ -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 diff --git a/xorg-font-sourcecode-otf/.md5sum b/xorg-font-sourcecode-otf/.md5sum new file mode 100644 index 000000000..c0e0f5ed5 --- /dev/null +++ b/xorg-font-sourcecode-otf/.md5sum @@ -0,0 +1 @@ +e59ce4be04d44c22e380865142bad0e3 SourceCodePro_FontsOnly-1.017.zip diff --git a/xorg-font-sourcecode-otf/Pkgfile b/xorg-font-sourcecode-otf/Pkgfile new file mode 100644 index 000000000..beecbaec7 --- /dev/null +++ b/xorg-font-sourcecode-otf/Pkgfile @@ -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 + +} diff --git a/xorg-font-sourcecode-otf/post-install b/xorg-font-sourcecode-otf/post-install new file mode 100755 index 000000000..ff232ea5e --- /dev/null +++ b/xorg-font-sourcecode-otf/post-install @@ -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