Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 2nd, 2013  |  syntax: None  |  size: 1.97 KB  |  views: 62  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer:  Sebastian Stammler <xxx>
  2. #
  3. # Now pacman 4.1 ready!
  4. # For improvements/fixes to this package, please send me a
  5. # pull request on github: https://github.com/sebastianst/aur-packages
  6. #
  7. # Contributor: Sarkasper <xxx>
  8. # Contributor: Daniel Micay <xxx>
  9. # Contributor: Michalis Georgiou <xxx>
  10. # Contributor: Alexander De Sousa <xxx>
  11.  
  12. pkgname=ttf-google-fonts-git
  13. pkgver=20131111
  14. pkgrel=1
  15. pkgdesc="Google Fonts catalogue."
  16. arch=('any')
  17. url="https://github.com/w0ng/googlefontdirectory"
  18. license=('various')
  19. depends=('fontconfig' 'xorg-fonts-encodings')
  20. makedepends=(git)
  21. conflicts=('googlefontdirectory'
  22.            'jsmath-fonts'
  23.            'lohit-fonts'
  24.            'oldstand-font'
  25.            'otf-goudy'
  26.            'ttf-andika'
  27.            'ttf-anonymous-pro'
  28.            'ttf-cantarell'
  29.            'ttf-cardo'
  30.            'ttf-chromeos-fonts'
  31.            'ttf-droid'
  32.            'ttf-google-webfonts-hg'
  33.            'ttf-inconsolata'
  34.            'ttf-kimberly_geswein_print'
  35.            'ttf-nova'
  36.            'ttf-oldstandard'
  37.            'ttf-pt-mono'
  38.            'ttf-pt-sans'
  39.            'ttf-ptsans'
  40.            'ttf-roboto'
  41.            'ttf-sil-fonts'
  42.            'ttf-sortsmillgoudy'
  43.            'ttf-source-code-pro'
  44.            'ttf-source-sans-pro'
  45.            'ttf-ubuntu-font-family'
  46.            'ttf-vollkorn'
  47.            'ttf-google-webfonts'
  48.            'ttf-oxygen'
  49.            'ttf-opensans'
  50.            'ttf-medievalsharp'
  51.            'ttf-google-webfonts-git'
  52.            'ttf-comfortaa')
  53. provides=("${conflicts[@]}")
  54. source=("git://github.com/w0ng/googlefontdirectory.git")
  55. md5sums=('SKIP')
  56. install=font.install
  57.  
  58. # git variables
  59. _gitname="googlefontdirectory"
  60.  
  61. pkgver() {
  62.   cd "$srcdir/$_gitname"
  63.   git log -1 --format="%cd" --date=short | sed 's|-||g'
  64. }
  65.  
  66. package() {
  67.   cd "$srcdir"
  68.   install -dm755 "$pkgdir/usr/share/fonts/TTF"
  69.   find . -type f -name \*.ttf -exec install -Dm644 '{}' \
  70.     "$pkgdir/usr/share/fonts/TTF" \;
  71.   cd "$pkgdir/usr/share/fonts/TTF"
  72.   rm Cantarell*.ttf
  73. }