From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/font-fira/font-fira.xibuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 repo/font-fira/font-fira.xibuild (limited to 'repo/font-fira/font-fira.xibuild') diff --git a/repo/font-fira/font-fira.xibuild b/repo/font-fira/font-fira.xibuild new file mode 100644 index 0000000..3d794a9 --- /dev/null +++ b/repo/font-fira/font-fira.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="font-fira" +DESC="Mozilla's new typeface OTF, used in Firefox OS" + +MAKEDEPS="" + +PKG_VER=4.202 +SOURCE="https://github.com/mozilla/Fira/archive/$PKG_VER.tar.gz" + +package() { + mkdir -p "$PKG_DEST" + otf + ttf +} + +otf() { + depends="fontconfig" + + for f in $BUILD_ROOT/otf/*.otf; do + install -Dm644 $f "$PKG_DEST"/usr/share/fonts/OTF + done +} + +ttf() { + pkgdesc="$pkgdesc (TTF version)" + depends="fontconfig" + + for f in $BUILD_ROOT/ttf/*.ttf; do + install -Dm644 $f "$PKG_DEST"/usr/share/fonts/TTF + done +} -- cgit v1.2.1