From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/font-liberation/font-liberation.xibuild | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repo/font-liberation/font-liberation.xibuild (limited to 'repo/font-liberation/font-liberation.xibuild') diff --git a/repo/font-liberation/font-liberation.xibuild b/repo/font-liberation/font-liberation.xibuild new file mode 100644 index 0000000..b9921ec --- /dev/null +++ b/repo/font-liberation/font-liberation.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="font-liberation" +DESC="Fonts to replace commonly used Microsoft Windows fonts" + +MAKEDEPS="" + +PKG_VER=2.1.5 +SOURCE="https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-$PKG_VER.tar.gz" + +ADDITIONAL=" +30-liberation-mono.conf +30-liberation-sans.conf +30-liberation-serif.conf +45-liberation.conf +90-liberation.conf +" + +package() { + install -D -m644 ./*.ttf -t "$PKG_DEST"/usr/share/fonts/liberation/ + + mkdir -p "$PKG_DEST"/etc/fonts/conf.d + + local i; for i in "$BUILD_ROOT"/*.conf; do + install -D -m644 "$i" -t "$PKG_DEST"/etc/fonts/conf.avail/ + ln -s ../conf.avail/${i##*/} "$PKG_DEST"/etc/fonts/conf.d/${i##*/} + done +} + + -- cgit v1.2.1