diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/font-fira | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/font-fira')
-rw-r--r-- | repo/font-fira/font-fira.xibuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |