1 # Maintainer: Daniel Nümm <dn@alphalog.ae>
5 depends=('fontconfig' 'xorg-font-utils')
6 makedepends=('mercurial')
7 pkgdesc="Over 200 Fonts from the Google Web Font Directory."
9 url="http://www.google.com/webfonts"
12 install=$pkgname.install
14 _hgroot="https://googlefontdirectory.googlecode.com/hg/"
15 _hgname="googlefontdirectory"
20 msg "Connecting to HG server...."
22 if [ -d $_hgname ] ; then
23 cd $_hgname && hg pull
24 msg "The local files are updated."
26 hg clone $_hgroot $_hgname
29 msg "HG checkout done or server timeout"
30 msg "Starting make..."
33 mkdir -p $pkgdir/usr/share/fonts/TTF
34 find $srcdir/$hgname/ -iname '*.ttf' -exec cp '{}' $pkgdir/usr/share/fonts/TTF/ \;