summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Rinnestam <fredrik@crux.nu>2013-06-07 23:41:20 +0200
committerFredrik Rinnestam <fredrik@crux.nu>2013-06-07 23:45:48 +0200
commit2b2409c9e8aa85d4fe44f0c49de697011ec96c7c (patch)
treec16537d45dac6440a6a5ea390d6005f1b4d92d67
parent2fed7c67f322d581c4f4adbc624a8e415edba9c4 (diff)
downloadopt-2b2409c9e8aa85d4fe44f0c49de697011ec96c7c.tar.gz
opt-2b2409c9e8aa85d4fe44f0c49de697011ec96c7c.tar.xz
xorg-font-sourcecode-otf: initial release.
-rw-r--r--xorg-font-sourcecode-otf/.footprint12
-rw-r--r--xorg-font-sourcecode-otf/.md5sum1
-rw-r--r--xorg-font-sourcecode-otf/Pkgfile17
-rwxr-xr-xxorg-font-sourcecode-otf/post-install5
4 files changed, 35 insertions, 0 deletions
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

Generated by cgit