From dcbda9d70a5d33355c943cd5d29285ab325a03c5 Mon Sep 17 00:00:00 2001 From: TANIGUCHI Masaya Date: Thu, 19 Sep 2024 00:23:14 +0000 Subject: [PATCH] font-miracode (new font) --- Formula/font-miracode.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Formula/font-miracode.rb diff --git a/Formula/font-miracode.rb b/Formula/font-miracode.rb new file mode 100644 index 000000000..8531dc168 --- /dev/null +++ b/Formula/font-miracode.rb @@ -0,0 +1,15 @@ +class FontMiracode < Formula + desc "Miracode font" + homepage "https://github.com/IdreesInc/Miracode" + url "https://github.com/IdreesInc/Miracode/releases/download/v1.0/Miracode.ttf" + version "1.0" + sha256 "43efc3fd33e5a8eb7befda984bf745eda844777326e1ae06fb074707e1aeb66a" + + def install + (share/"fonts").install Dir.glob("./**/Miracode.ttf")[0] + end + + test do + assert_path_exists share/"fonts" + end +end