alvin_

lato_fonts-1.105.recipe

Nov 26th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 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. cp README.txt ${FONTDIR}
  46.  
  47. cd OTF
  48. cp *.otf ${FONTDIR}
  49.  
  50. cd ..
  51. cd TTF
  52. cp *.ttf ${FONTDIR}
  53.  
  54. packageEntries otf \
  55. ${FONTDIR}/*.otf
  56.  
  57. packageEntries ttf \
  58. ${FONTDIR}/*.ttf
  59. }
Advertisement
Add Comment
Please, Sign In to add comment