aboutsummaryrefslogtreecommitdiff
path: root/extra/liberation-fonts-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'extra/liberation-fonts-ttf')
-rwxr-xr-xextra/liberation-fonts-ttf/build4
-rw-r--r--extra/liberation-fonts-ttf/checksums4
-rw-r--r--extra/liberation-fonts-ttf/files/30-0-liberation-mono.conf17
-rw-r--r--extra/liberation-fonts-ttf/files/30-0-liberation-sans.conf17
-rw-r--r--extra/liberation-fonts-ttf/files/30-0-liberation-serif.conf17
-rw-r--r--extra/liberation-fonts-ttf/sources4
-rw-r--r--extra/liberation-fonts-ttf/version1
7 files changed, 64 insertions, 0 deletions
diff --git a/extra/liberation-fonts-ttf/build b/extra/liberation-fonts-ttf/build
new file mode 100755
index 00000000..bdc86a6f
--- /dev/null
+++ b/extra/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/extra/liberation-fonts-ttf/checksums b/extra/liberation-fonts-ttf/checksums
new file mode 100644
index 00000000..86210312
--- /dev/null
+++ b/extra/liberation-fonts-ttf/checksums
@@ -0,0 +1,4 @@
+8ee2c16fe0f055e60dd8375449aff72d25dd623b9cc6f24790ce9d2e91446fca liberation-fonts-ttf-2.1.1.tar.gz
+54a2bbb928fec39322852df8069a5dfd03be454b5da7849e647114cbcc7375ce 30-0-liberation-serif.conf
+40e12440024c568dd9159b8e0089ebde98651dcb4dd50d188cbb121d83c49e5c 30-0-liberation-mono.conf
+255da464c88a189a9e59ab412464f1d7ff64767c99f2a7477bafb4f92bc64121 30-0-liberation-sans.conf
diff --git a/extra/liberation-fonts-ttf/files/30-0-liberation-mono.conf b/extra/liberation-fonts-ttf/files/30-0-liberation-mono.conf
new file mode 100644
index 00000000..ca9778d0
--- /dev/null
+++ b/extra/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/extra/liberation-fonts-ttf/files/30-0-liberation-sans.conf b/extra/liberation-fonts-ttf/files/30-0-liberation-sans.conf
new file mode 100644
index 00000000..f12f35c6
--- /dev/null
+++ b/extra/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/extra/liberation-fonts-ttf/files/30-0-liberation-serif.conf b/extra/liberation-fonts-ttf/files/30-0-liberation-serif.conf
new file mode 100644
index 00000000..3f4aed83
--- /dev/null
+++ b/extra/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/extra/liberation-fonts-ttf/sources b/extra/liberation-fonts-ttf/sources
new file mode 100644
index 00000000..4c5be0bd
--- /dev/null
+++ b/extra/liberation-fonts-ttf/sources
@@ -0,0 +1,4 @@
+https://github.com/liberationfonts/liberation-fonts/files/4743886/liberation-fonts-ttf-2.1.1.tar.gz
+files/30-0-liberation-serif.conf
+files/30-0-liberation-mono.conf
+files/30-0-liberation-sans.conf
diff --git a/extra/liberation-fonts-ttf/version b/extra/liberation-fonts-ttf/version
new file mode 100644
index 00000000..05565a80
--- /dev/null
+++ b/extra/liberation-fonts-ttf/version
@@ -0,0 +1 @@
+2.1.1 1