diff --git a/srcpkgs/google-fonts-ttf/template b/srcpkgs/google-fonts-ttf/template index b13e471126d..e3616233914 100644 --- a/srcpkgs/google-fonts-ttf/template +++ b/srcpkgs/google-fonts-ttf/template @@ -1,11 +1,11 @@ # Template file for 'google-fonts-ttf' pkgname=google-fonts-ttf version=20170727 -revision=1 +revision=2 noarch=yes _githash=90ed26b96d60bccb6ab7db5494af1f92959489e8 wrksrc="fonts-${_githash}" -depends="font-util cantarell-fonts" +depends="font-util cantarell-fonts noto-fonts-ttf" font_dirs="/usr/share/fonts/TTF" short_desc="TrueType fonts from the Google Fonts project" maintainer="Alessio Sergi " @@ -21,6 +21,7 @@ do_install() { find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \; } post_install() { - # remove cantarell fonts + # remove cantarell and noto fonts rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf + rm -f ${DESTDIR}/usr/share/fonts/TTF/Noto*-*.ttf }