From 7d5fd0bf5059371401b1404cfaf75d84e6c43368 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 27 Jul 2015 12:39:06 +0200 Subject: [PATCH] google-fonts-ttf-git: update to 20150721. --- srcpkgs/google-fonts-ttf-git/template | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/srcpkgs/google-fonts-ttf-git/template b/srcpkgs/google-fonts-ttf-git/template index d7ceb6cc41b..cd6d8cdefde 100644 --- a/srcpkgs/google-fonts-ttf-git/template +++ b/srcpkgs/google-fonts-ttf-git/template @@ -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 " 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 \;