diff --git a/ports/x/xorg-font-arimo-nerd/Pkgfile b/ports/x/xorg-font-arimo-nerd/Pkgfile new file mode 100644 index 0000000..09b31b6 --- /dev/null +++ b/ports/x/xorg-font-arimo-nerd/Pkgfile @@ -0,0 +1,14 @@ +# Description: The free Arimo Nerd font family. +# URL: https://www.nerdfonts.com/ +# Maintainer: Alexander Zhirov +# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util + +name=Arimo +version=3.1.1 +release=1 +source=(https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/$name.tar.xz) + +build() { + mkdir -p $PKG/usr/share/fonts/X11/TTF + mv ArimoNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/. +} diff --git a/ports/x/xorg-font-arimo-nerd/post-install b/ports/x/xorg-font-arimo-nerd/post-install new file mode 100644 index 0000000..130897a --- /dev/null +++ b/ports/x/xorg-font-arimo-nerd/post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +mkfontdir /usr/share/fonts/X11/TTF +mkfontscale /usr/share/fonts/X11/TTF