void-packages/srcpkgs/fonts-roboto-ttf/template
2019-03-01 12:04:45 -03:00

20 lines
653 B
Bash

# Template file for 'fonts-roboto-ttf'
pkgname=fonts-roboto-ttf
version=2.138
revision=1
archs=noarch
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 \;
}