alvin_

lato_fonts.recipe

Nov 25th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.26 KB | None | 0 0
  1. SUMMARY="The Lato-fonts."
  2. DESCRIPTION="
  3.     Lato is a sanserif typeface family designed in the Summer 2010 by
  4.     Warsaw-based designer Łukasz Dziedzic (“Lato” means “Summer” in Polish). In
  5.     December 2010 the Lato family was published under the open-source Open Font
  6.     License by his foundry tyPoland, with support from Google. Lato consists of
  7.     five weights (plus corresponding italics), including a beautiful hairline
  8.     style.
  9.     "
  10. HOMEPAGE="http://www.latofonts.com/lato-free-fonts/"
  11. SRC_URI="http://www.latofonts.com/download/LatoOFL.zip"
  12. CHECKSUM_MD5="5effc8ceaca6caeb9548e2248e0ceb9b"
  13. LICENSE="SIL Open Font License v1.1"
  14. COPYRIGHT="Copyright 2010 Łukasz Dziedzic, with reserved font name Lato"
  15. REVISION="1"
  16. ARCHITECTURES="any"
  17. DISABLE_SOURCE_PACKAGE=yes
  18. PROVIDES="
  19.     lato_fonts=$portVersion
  20.     "
  21. PROVIDES_OTF="
  22.     OTF=$portVersion
  23.     "
  24. PROVIDES_TTF="
  25.     TTF=$portVersion
  26.     "
  27. REQUIRES=""
  28. REQUIRES_OTF=""
  29. REQUIRES_TTF=""
  30. BUILD_REQUIRES=""
  31. BUILD_PREREQUIRES="
  32.     coreutils
  33.     "
  34. SOURCE_DIR=""
  35.  
  36. BUILD()
  37. {
  38.     true
  39. }
  40.  
  41. INSTALL()
  42. {
  43.     FONTDIR=$fontsDir/lato_fonts
  44.     mkdir -p ${FONTDIR}
  45.     cd OTF
  46.     cp *.otf ${FONTDIR}
  47.    
  48.     cd..
  49.     cd TTF
  50.     cp *.ttf ${FONTDIR}
  51.    
  52.     packageEntries OTF \
  53.         ${FONTDIR}/*.otf
  54.    
  55.     packageEntries TTF \
  56.         ${FONTDIR}/*.ttf
  57. }
Advertisement
Add Comment
Please, Sign In to add comment