aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxorg/liberation-fonts-ttf/build4
-rw-r--r--xorg/liberation-fonts-ttf/checksums4
-rw-r--r--xorg/liberation-fonts-ttf/files/30-0-liberation-mono.conf17
-rw-r--r--xorg/liberation-fonts-ttf/files/30-0-liberation-sans.conf17
-rw-r--r--xorg/liberation-fonts-ttf/files/30-0-liberation-serif.conf17
-rw-r--r--xorg/liberation-fonts-ttf/sources4
-rw-r--r--xorg/liberation-fonts-ttf/version1
7 files changed, 64 insertions, 0 deletions
diff --git a/xorg/liberation-fonts-ttf/build b/xorg/liberation-fonts-ttf/build
new file mode 100755
index 00000000..c1286567
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/build
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+install -Dm644 *.ttf -t "$1/usr/share/fonts/TTF/"
+install -Dm644 *.conf -t "$1/etc/fonts/conf.avail/"
diff --git a/xorg/liberation-fonts-ttf/checksums b/xorg/liberation-fonts-ttf/checksums
new file mode 100644
index 00000000..4fbcf838
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/checksums
@@ -0,0 +1,4 @@
+f14ff0a0be87b5aeb672e669363b5a699db76feb1144b06798261c0fdcd2b24d liberation-fonts-ttf-2.00.5.tar.gz
+54a2bbb928fec39322852df8069a5dfd03be454b5da7849e647114cbcc7375ce 30-0-liberation-serif.conf
+40e12440024c568dd9159b8e0089ebde98651dcb4dd50d188cbb121d83c49e5c 30-0-liberation-mono.conf
+255da464c88a189a9e59ab412464f1d7ff64767c99f2a7477bafb4f92bc64121 30-0-liberation-sans.conf
diff --git a/xorg/liberation-fonts-ttf/files/30-0-liberation-mono.conf b/xorg/liberation-fonts-ttf/files/30-0-liberation-mono.conf
new file mode 100644
index 00000000..ca9778d0
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/files/30-0-liberation-mono.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Courier New</family>
+ <accept>
+ <family>Liberation Mono</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Liberation Mono</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/xorg/liberation-fonts-ttf/files/30-0-liberation-sans.conf b/xorg/liberation-fonts-ttf/files/30-0-liberation-sans.conf
new file mode 100644
index 00000000..f12f35c6
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/files/30-0-liberation-sans.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Arial</family>
+ <accept>
+ <family>Liberation Sans</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Liberation Sans</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/xorg/liberation-fonts-ttf/files/30-0-liberation-serif.conf b/xorg/liberation-fonts-ttf/files/30-0-liberation-serif.conf
new file mode 100644
index 00000000..3f4aed83
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/files/30-0-liberation-serif.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Times New Roman</family>
+ <accept>
+ <family>Liberation Serif</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Liberation Serif</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/xorg/liberation-fonts-ttf/sources b/xorg/liberation-fonts-ttf/sources
new file mode 100644
index 00000000..cffc8020
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/sources
@@ -0,0 +1,4 @@
+https://github.com/liberationfonts/liberation-fonts/files/2926169/liberation-fonts-ttf-2.00.5.tar.gz
+files/30-0-liberation-serif.conf
+files/30-0-liberation-mono.conf
+files/30-0-liberation-sans.conf
diff --git a/xorg/liberation-fonts-ttf/version b/xorg/liberation-fonts-ttf/version
new file mode 100644
index 00000000..99db1b2d
--- /dev/null
+++ b/xorg/liberation-fonts-ttf/version
@@ -0,0 +1 @@
+2.00.5 1