google-fonts-ttf-git: update to 20150721.

This commit is contained in:
Andrea Brancaleoni 2015-07-27 12:39:06 +02:00
parent ab1074b6dc
commit 7d5fd0bf50

View file

@ -1,9 +1,9 @@
# Template file for 'google-fonts-ttf-git'
pkgname=google-fonts-ttf-git
version=20150315
version=20150721
revision=1
_commit=7a1b0cb0c376ed7ca10b3c45b07dc3146136768c
noarch=yes
hostmakedepends="git"
depends="font-util cantarell-fonts"
font_dirs="/usr/share/fonts/TTF"
short_desc="TrueType fonts from the Google Fonts project"
@ -11,12 +11,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://www.google.com/fonts"
license="Apache-2.0, OFL, UFL"
conflicts="fonts-croscore-ttf>=0"
distfiles="https://github.com/google/fonts/archive/$_commit.tar.gz"
checksum=75397941fcb502cffbb1ca83665112c1dd21eb172042fabc02c201e64e289615
wrksrc="fonts-$_commit"
do_fetch() {
local url="git://github.com/google/fonts.git"
msg_normal "Fetching source from ${url}...\n"
git clone ${url} ${wrksrc}
}
do_install() {
vmkdir usr/share/fonts/TTF
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;