# Template file for 'font-ibm-plex-ttf' pkgname=font-ibm-plex-ttf version=1.2.3 revision=1 noarch=yes wrksrc="plex-${version}" depends="font-util" font_dirs="/usr/share/fonts/TTF" short_desc="The package of IBM’s typeface, IBM Plex (TTF variant)" maintainer="Vintodrimmer " license="OFL-1.1" homepage="https://github.com/IBM/plex" distfiles="https://github.com/IBM/plex/archive/v${version}.tar.gz" checksum=8ab55e41861babdad99a77f955590308fc9e15426ca76db153120dd7e21b1083 do_install() { vmkdir usr/share/fonts/TTF for files in IBM-Plex-*/fonts/complete/ttf/*.ttf; do vinstall ${files} 0644 \ usr/share/fonts/TTF done } font-ibm-plex-otf_package() { depends="font-util" font_dirs="/usr/share/fonts/OTF" short_desc="${short_desc/TTF/OTF}" pkg_install() { vmkdir usr/share/fonts/OTF for files in IBM-Plex-*/fonts/complete/otf/*.otf; do vinstall ${files} 0644 \ usr/share/fonts/OTF done } }