# Template file for 'font-latinmodern'
pkgname=font-latinmodern
version=2.004
revision=1
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/lm${version}otf.zip
 https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
checksum="5b0236051d3728be6616f1b274e3b910473875b5a3ef9382f0ef00384ddb161b
 a746108477b2fa685845e7596b7ad8342bc358704b2b7da355f2df0a0cb8ad85"
font_dirs="/usr/share/fonts/latinmodern"

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