# Template file for 'font-latinmodern'
pkgname=font-latinmodern
version=2.007
revision=1
_date="31_03_2026"
depends="font-util"
short_desc="Improved version of Computer Modern fonts as used in LaTeX"
maintainer="classabbyamp <void@placeviolette.net>"
license="custom:GFL"
homepage="https://www.gust.org.pl/projects/e-foundry/latin-modern"
changelog="https://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm-hist.txt"
distfiles="https://www.gust.org.pl/projects/e-foundry/latin-modern/download/Latin_Modern-otf-${version//./_}-${_date}.zip
 https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
checksum="2d8e05083e211ac838a9e306fb5e4856ed37ec15130e185a971e2683a7c5d1a1
 5eb61bb836bb1845ef668717cb15b382e997748ce2629e4388cc5e4c3fa4e433"
font_dirs="/usr/share/fonts/latinmodern"
provides="font:serif-0_1 font:sans-serif-0_1 font:monospace-0_1"

do_install() {
	vmkdir usr/share/fonts/latinmodern
	vcopy *.otf usr/share/fonts/latinmodern
	vlicense GUST-FONT-LICENSE.txt
}
