Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tani committed May 24, 2024
1 parent 5a359dd commit 3b768c4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Formula/font-zilla-slab.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class FontZillaSlab < Formula
version "1.002"
sha256 "62490dc19cd17e2951fe88ba3e662089ca14077634cacf1f12926374281dcf42"
url "https://github.com/mozilla/zilla-slab/releases/download/v#{version}/Zilla-Slab-Fonts-v#{version}.zip"
desc "Zilla Slab"
homepage "https://github.com/mozilla/zilla-slab"
def install
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-Bold.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-BoldItalic.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-Italic.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-Light.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-LightItalic.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-Medium.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-MediumItalic.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-Regular.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-SemiBold.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlab-SemiBoldItalic.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlabHighlight-Bold.otf")[0]
(share/"fonts").install Dir.glob("zilla-slab/otf/**/ZillaSlabHighlight-Regular.otf")[0]
end
# No zap stanza required

test do
end
end

0 comments on commit 3b768c4

Please sign in to comment.