Update font formulas to use specific directory paths for font files, ensuring proper installation structure across multiple font classes.
This commit is contained in:
parent
8d5f0f3f90
commit
749dc7d418
125 changed files with 625 additions and 625 deletions
|
|
@ -7,7 +7,7 @@
|
|||
class FontThe-great-outdoors < Formula
|
||||
desc "Font: the-great-outdoors"
|
||||
homepage "http://clancy.genet-godzilla.ts.net:3002/Fonts/homebrew-fonts"
|
||||
url "http://clancy.genet-godzilla.ts.net:3002/Fonts/homebrew-fonts/raw/main/font_files/font-the-great-outdoors"
|
||||
url "http://clancy.genet-godzilla.ts.net:3002/Fonts/homebrew-fonts/-/archive/main/homebrew-fonts-main.tar.gz"
|
||||
version "1.0.0"
|
||||
sha256 "" # This will need to be filled in after the first build
|
||||
|
||||
|
|
@ -19,23 +19,23 @@ class FontThe-great-outdoors < Formula
|
|||
(share/"fonts/webfonts").mkpath
|
||||
|
||||
# Install TTF fonts
|
||||
Dir.glob("ttf/*.ttf").each do |font|
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-the-great-outdoors/ttf/*.ttf").each do |font|
|
||||
system "cp", font, share/"fonts/truetype"
|
||||
end
|
||||
|
||||
# Install OTF fonts
|
||||
Dir.glob("otf/*.otf").each do |font|
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-the-great-outdoors/otf/*.otf").each do |font|
|
||||
system "cp", font, share/"fonts/opentype"
|
||||
end
|
||||
|
||||
# Install web fonts
|
||||
Dir.glob("web/*.{woff,woff2,eot,svg}").each do |font|
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-the-great-outdoors/web/*.{woff,woff2,eot,svg}").each do |font|
|
||||
system "cp", font, share/"fonts/webfonts"
|
||||
end
|
||||
|
||||
# Install documentation and other files
|
||||
(share/"the-great-outdoors").mkpath
|
||||
Dir.glob("other_files/*").each do |file|
|
||||
Dir.glob("homebrew-fonts-main/font_files/font-the-great-outdoors/other_files/*").each do |file|
|
||||
system "cp", "-r", file, share/"the-great-outdoors"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue