new xorg-font-ubuntumono-nerd port

This commit is contained in:
Alexander Zhirov 2024-03-24 22:13:14 +03:00
parent 46d82d5303
commit 3e07ede3e7
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# Description: The free Ubuntu Mono Nerd font family.
# URL: https://www.nerdfonts.com/
# Maintainer: Alexander Zhirov
# Depends on: xorg-mkfontdir, xorg-mkfontscale, xorg-bdftopcf, xorg-font-util
name=UbuntuMono
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 UbuntuMonoNerdFont*.ttf $PKG/usr/share/fonts/X11/TTF/.
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
mkfontdir /usr/share/fonts/X11/TTF
mkfontscale /usr/share/fonts/X11/TTF