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

24 lines
901 B
Bash

# Template file for 'fonts-droid-ttf'
pkgname=fonts-droid-ttf
version=20150613
revision=2
_githash=f5de525ee3547b8a69a21aec1e1a3175bc06f442
create_wrksrc=yes
depends="font-util"
short_desc="General-purpose Android fonts (CJK support)"
maintainer="travankor <travankor@tuta.io>"
license="Apache-2.0"
homepage="http://www.droidfonts.com/droidfonts/"
changelog="https://android.googlesource.com/platform/frameworks/base/+log/master/data/fonts"
distfiles="https://android.googlesource.com/platform/frameworks/base/+archive/${_githash}/data/fonts.tar.gz"
checksum=@722c954d839cc131c17161956c5117624ceeea3f90e01d4d8ad3d38f374000cc
conflicts="google-fonts-ttf"
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vinstall DroidSansFallback.ttf 644 usr/share/fonts/TTF
vinstall DroidSansFallbackFull.ttf 644 usr/share/fonts/TTF
vinstall DroidSansMono.ttf 644 usr/share/fonts/TTF
}