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

22 lines
713 B
Bash

# Template build file for 'noto-fonts-ttf'.
pkgname=noto-fonts-ttf
version=20170307
revision=2
noarch="yes"
_githash=60aa0da2ee84b11e78725b4577edc2e80b009d56
wrksrc="noto-fonts-${_githash}"
depends="font-util"
font_dirs="/usr/share/fonts/noto"
short_desc="Google Noto TTF Fonts"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
license="OFL-1.1"
homepage="https://www.google.com/get/noto/"
distfiles="https://github.com/googlei18n/noto-fonts/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=093a82887c9574f33f999aa9bdcd26e6a59ec0603612c2c0b6723994f3fb82ca
conflicts="google-fonts-ttf>=0"
do_install() {
vmkdir usr/share/fonts/noto
install -m644 hinted/Noto*.ttf ${DESTDIR}/usr/share/fonts/noto
}