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

22 lines
684 B
Bash

# Template build file for 'noto-fonts-ttf'.
pkgname=noto-fonts-ttf
version=20161206
revision=1
noarch="yes"
_githash=8aaee12142a4e78511e2aa9a1f65f90b38384429
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"
checksum=6d773c43d0f86ea6e140acd7b0b78cc16c689607b2e3ea2860986143b181210b
conflicts="google-fonts-ttf>=0"
do_install() {
vmkdir usr/share/fonts/noto
install -m644 hinted/Noto*.ttf ${DESTDIR}/usr/share/fonts/noto
}