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

22 lines
672 B
Bash

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