void-packages/srcpkgs/fonts-roboto-ttf/template

20 lines
640 B
Bash

# Template file for 'fonts-roboto-ttf'
pkgname=fonts-roboto-ttf
version=2.138
revision=2
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
do_install() {
vmkdir usr/share/fonts/TTF
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
}