diff --git a/.gitmodules b/.gitmodules index e69de29..f136ba1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "/Users/fishy/git/homebrew-fonts/fonts/font-tyler-handwriting"] + path = /Users/fishy/git/homebrew-fonts/fonts/font-tyler-handwriting + url = http://clancy.genet-godzilla.ts.net:3002/fishy/font-tyler-handwriting.git diff --git a/Formula/font-tyler handwriting.rb b/Formula/font-tyler handwriting.rb new file mode 100644 index 0000000..613edfa --- /dev/null +++ b/Formula/font-tyler handwriting.rb @@ -0,0 +1,16 @@ +class Tyler handwriting < Formula + desc "A custom font" + homepage "http://clancy.genet-godzilla.ts.net:3002/fishy/font-tyler handwriting" + url "http://clancy.genet-godzilla.ts.net:3002/fishy/font-tyler handwriting/raw/branch/master/tyler handwriting.zip" + sha256 "b0bf2ac68eaf7ad7e0623b12d0c3661336af1ef3b20157aeb9312322cef9cac1" + version "1.0.0" + + def install + (share/"fonts").install "tyler-handwriting.otf" + end + + test do + # Test installation by checking that the font exists + system "fc-list | grep 'tyler-handwriting'" + end +end diff --git a/fonts/font-tyler-handwriting b/fonts/font-tyler-handwriting new file mode 160000 index 0000000..5180705 --- /dev/null +++ b/fonts/font-tyler-handwriting @@ -0,0 +1 @@ +Subproject commit 51807056d15c9fff420303bb9076f99df92bc63d diff --git a/fonts/index.json b/fonts/index.json index 7f72497..0e8fdd3 100644 --- a/fonts/index.json +++ b/fonts/index.json @@ -1,3 +1,9 @@ { - "fonts": [] + "fonts": [ + { + "name": "tyler handwriting", + "path": "/Users/fishy/git/homebrew-fonts/fonts/font-tyler-handwriting", + "formula": "font-tyler handwriting" + } + ] } \ No newline at end of file