From ec794dd567ab3c49a8f91df2fde0cc2a214eeef1 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 15 Mar 2015 18:25:15 +0100 Subject: [PATCH] google-fonts-ttf-git: update to 20150315 Switch to Google's new official GitHub repository. --- srcpkgs/google-fonts-ttf-git/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/google-fonts-ttf-git/template b/srcpkgs/google-fonts-ttf-git/template index 820d00389cf..d7ceb6cc41b 100644 --- a/srcpkgs/google-fonts-ttf-git/template +++ b/srcpkgs/google-fonts-ttf-git/template @@ -1,11 +1,10 @@ # Template file for 'google-fonts-ttf-git' pkgname=google-fonts-ttf-git -version=20141116 +version=20150315 revision=1 noarch=yes hostmakedepends="git" -makedepends="font-util xbps-triggers" -depends="${makedepends} cantarell-fonts" +depends="font-util cantarell-fonts" font_dirs="/usr/share/fonts/TTF" short_desc="TrueType fonts from the Google Fonts project" maintainer="Alessio Sergi " @@ -14,16 +13,14 @@ license="Apache-2.0, OFL, UFL" conflicts="fonts-croscore-ttf>=0" do_fetch() { - local url="git://github.com/w0ng/googlefontdirectory.git" + local url="git://github.com/google/fonts.git" msg_normal "Fetching source from ${url}...\n" - git clone ${url} ${pkgname}-${version} + git clone ${url} ${wrksrc} } - do_install() { vmkdir usr/share/fonts/TTF find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \; } - post_install() { # remove cantarell fonts rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf