logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (1143B)


  1. local fonts = {
  2. 'SourceCodePro-Black',
  3. 'SourceCodePro-BlackIt',
  4. 'SourceCodePro-Bold',
  5. 'SourceCodePro-BoldIt',
  6. 'SourceCodePro-ExtraLight',
  7. 'SourceCodePro-ExtraLightIt',
  8. 'SourceCodePro-It',
  9. 'SourceCodePro-Light',
  10. 'SourceCodePro-LightIt',
  11. 'SourceCodePro-Medium',
  12. 'SourceCodePro-MediumIt',
  13. 'SourceCodePro-Regular',
  14. 'SourceCodePro-Semibold',
  15. 'SourceCodePro-SemiboldIt',
  16. 'SourceSans3-Black',
  17. 'SourceSans3-BlackIt',
  18. 'SourceSans3-Bold',
  19. 'SourceSans3-BoldIt',
  20. 'SourceSans3-ExtraLight',
  21. 'SourceSans3-ExtraLightIt',
  22. 'SourceSans3-It',
  23. 'SourceSans3-Light',
  24. 'SourceSans3-LightIt',
  25. 'SourceSans3-Regular',
  26. 'SourceSans3-Semibold',
  27. 'SourceSans3-SemiboldIt',
  28. 'SourceSerif4-Black',
  29. 'SourceSerif4-BlackIt',
  30. 'SourceSerif4-Bold',
  31. 'SourceSerif4-BoldIt',
  32. 'SourceSerif4-ExtraLight',
  33. 'SourceSerif4-ExtraLightIt',
  34. 'SourceSerif4-It',
  35. 'SourceSerif4-Light',
  36. 'SourceSerif4-LightIt',
  37. 'SourceSerif4-Regular',
  38. 'SourceSerif4-Semibold',
  39. 'SourceSerif4-SemiboldIt',
  40. }
  41. for _, font in ipairs(fonts) do
  42. local path = ('share/fonts/%s.otf'):format(font)
  43. local src = ('$srcdir/OTF/%s.otf'):format(font)
  44. file(path, '644', src)
  45. end
  46. fetch 'curl'