Add buffalo font
This commit is contained in:
parent
1cf1b5527c
commit
61bcaad266
4 changed files with 15 additions and 15 deletions
15
Formula/buffalo.rb
Normal file
15
Formula/buffalo.rb
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class Buffalo < Formula
|
||||
desc "Font for buffalo"
|
||||
homepage "https://github.com/buffalo"
|
||||
url "./buffalo/buffalo.zip"
|
||||
sha256 "41e2bb265efc378ebd4878b9033362e31b10db80cace2401d7bafbbb466cc2ee"
|
||||
version "latest"
|
||||
|
||||
def install
|
||||
(share/"fonts").install Dir["*.ttf", "*.otf"]
|
||||
end
|
||||
|
||||
test do
|
||||
assert_predicate share/"fonts/buffalo-Regular.ttf", :exist?
|
||||
end
|
||||
end
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue