google-fonts-ttf: depend on noto-fonts-ttf

To avoid conflict with KDE 5. See #11402.
This commit is contained in:
Alessio Sergi 2018-04-11 18:42:27 +02:00
parent 791955eac2
commit ba3e6de450

View File

@ -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 <al3hex@gmail.com>"
@ -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
}