class font-buffalo < Formula desc "Font for font-buffalo" homepage "https://github.com/font-buffalo" url "./font-buffalo/font-buffalo.zip" sha256 "b6de15290696645b8cb5a6a96f9124f0a87e65f85b23f7369f4e412c67306c59" version "latest" def install (share/"fonts").install Dir["*.ttf", "*.otf"] end test do assert_predicate share/"fonts/font-buffalo-Regular.ttf", :exist? end end