Skip to content

Commit

Permalink
font-udev-gothic-hs (new font)
Browse files Browse the repository at this point in the history
  • Loading branch information
tani committed Dec 15, 2024
1 parent beb020b commit 3a870c5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Formula/font-udev-gothic-hs.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class FontUdevGothicHs < Formula
desc "Udev gothic hs font"
homepage "https://github.com/yuru7/udev-gothic"
url "https://github.com/yuru7/udev-gothic/releases/download/v2.0.0/UDEVGothic_HS_v2.0.0.zip"
version "2.0.0"
sha256 "7b4334786a9d42d5407fd187befc6c92be291ddf9ea678b5e4c6aee266790384"

def install
(share/"fonts").install Dir.glob("./**/UDEVGothic35HS-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HS-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HS-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HS-Regular.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSJPDOC-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSJPDOC-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSJPDOC-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSJPDOC-Regular.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSLG-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSLG-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSLG-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothic35HSLG-Regular.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHS-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHS-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHS-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHS-Regular.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSJPDOC-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSJPDOC-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSJPDOC-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSJPDOC-Regular.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSLG-Bold.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSLG-BoldItalic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSLG-Italic.ttf")[0]
(share/"fonts").install Dir.glob("./**/UDEVGothicHSLG-Regular.ttf")[0]
end

test do
assert_path_exists share/"fonts"
end
end

0 comments on commit 3a870c5

Please sign in to comment.