Skip to content

Commit

Permalink
font-genkigothic (new font)
Browse files Browse the repository at this point in the history
  • Loading branch information
tani committed Jul 26, 2024
1 parent 3f68ad7 commit eb7ffce
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/font-genkigothic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class FontGenkigothic < Formula
desc "Genkigothic font"
homepage "https://github.com/ButTaiwan/genyog-font"
url "https://github.com/ButTaiwan/genyog-font/releases/download/v2.000/GenKiGothic2-ttc.zip"
version "2.000"
sha256 "e2aab3e38f6a5e0b6b40f0d8fff93c1f48a250f51e913f738d1247edda96974b"

def install
(share/"fonts").install Dir.glob("./**/GenKiGothic2-B.ttc")[0]
(share/"fonts").install Dir.glob("./**/GenKiGothic2-EL.ttc")[0]
(share/"fonts").install Dir.glob("./**/GenKiGothic2-H.ttc")[0]
(share/"fonts").install Dir.glob("./**/GenKiGothic2-L.ttc")[0]
(share/"fonts").install Dir.glob("./**/GenKiGothic2-M.ttc")[0]
(share/"fonts").install Dir.glob("./**/GenKiGothic2-R.ttc")[0]
end

test do
assert_path_exists share/"fonts"
end
end

0 comments on commit eb7ffce

Please sign in to comment.