phinze/homebrew-cask

View on GitHub
Casks/font/font-g/font-goorm-sans.rb

Summary

Maintainability
A
20 mins
Test Coverage
cask "font-goorm-sans" do
  version "1.0.0"
  sha256 "c59219d6ef005aa7035fa0ddd13612a36179bd59463b3f3b9ca960e44451dc52"

  url "https://statics.goorm.io/fonts/goorm-sans/goorm-sans-#{version}.zip"
  name "goorm Sans"
  homepage "https://goorm-sans.goorm.io/"

  livecheck do
    url :homepage
    regex(/href=.*?goorm[._-]sans[._-]v?(\d+(?:\.\d+)+)\.zip/i)
  end

  font "goorm sans/Public/TTF/goorm-sans-regular.ttf"
  font "goorm sans/Public/TTF/goorm-sans-medium.ttf"
  font "goorm sans/Public/TTF/goorm-sans-bold.ttf"

  # No zap stanza required
end