#!/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 }