void-packages/srcpkgs/fonts-roboto-ttf/template
Érico Nogueira fe505e9983 fonts-roboto-ttf: fix google-fonts-ttf being uninstallable
After commit 70eb5aec70, google-fonts-ttf
started depending on fonts-roboto-ttf, but fonts-roboto-ttf was still
listed as conflicting with it. fonts-robot-ttf should only conflict with
old versions of google-fonts-ttf, not new ones.
2021-07-02 16:33:58 -03:00

19 lines
654 B
Bash

# Template file for 'fonts-roboto-ttf'
pkgname=fonts-roboto-ttf
version=2.138
revision=3
wrksrc=roboto-${version}
depends="font-util"
short_desc="Google's signature family of fonts"
maintainer="travankor <travankor@tuta.io>"
license="Apache-2.0"
homepage="https://fonts.google.com/specimen/Roboto"
distfiles="https://github.com/google/roboto/archive/v${version}.tar.gz"
checksum=5427a734ba778333956093f85f5a67b7134ea925ef9dea236a2c5bd0d200341b
font_dirs="/usr/share/fonts/TTF"
conflicts="google-fonts-ttf<=20190605_2"
do_install() {
vmkdir usr/share/fonts/TTF
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
}