void-packages/srcpkgs/fonts-roboto-ttf/template
2018-09-17 06:38:25 -03:00

20 lines
651 B
Bash

# Template file for 'fonts-roboto-ttf'
pkgname=fonts-roboto-ttf
version=2.138
revision=1
noarch=yes
wrksrc=roboto-${version}
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
conflicts=google-fonts-ttf
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
do_install() {
vmkdir usr/share/fonts/TTF
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
}