mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
google-fonts-ttf: depend on noto-fonts-ttf
To avoid conflict with KDE 5. See #11402.
This commit is contained in:
parent
791955eac2
commit
ba3e6de450
1 changed files with 4 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'google-fonts-ttf'
|
# Template file for 'google-fonts-ttf'
|
||||||
pkgname=google-fonts-ttf
|
pkgname=google-fonts-ttf
|
||||||
version=20170727
|
version=20170727
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
_githash=90ed26b96d60bccb6ab7db5494af1f92959489e8
|
_githash=90ed26b96d60bccb6ab7db5494af1f92959489e8
|
||||||
wrksrc="fonts-${_githash}"
|
wrksrc="fonts-${_githash}"
|
||||||
depends="font-util cantarell-fonts"
|
depends="font-util cantarell-fonts noto-fonts-ttf"
|
||||||
font_dirs="/usr/share/fonts/TTF"
|
font_dirs="/usr/share/fonts/TTF"
|
||||||
short_desc="TrueType fonts from the Google Fonts project"
|
short_desc="TrueType fonts from the Google Fonts project"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
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 \;
|
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
|
||||||
}
|
}
|
||||||
post_install() {
|
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/Cantarell-*.ttf
|
||||||
|
rm -f ${DESTDIR}/usr/share/fonts/TTF/Noto*-*.ttf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue