aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-05-05 20:11:36 +0200
committerTeddy Wing2021-05-05 20:19:23 +0200
commit3a332e50596f39685975a9898d0f8e055b782714 (patch)
tree4ba195ab226b49cf6a195dedbbced5f63b743485
parent1fdd68d4b84d7895be7784fe8274f17d2faf4d64 (diff)
downloadhomebrew-formulae-3a332e50596f39685975a9898d0f8e055b782714.tar.bz2
pdf-form-replace-font 0.0.1
-rw-r--r--HomebrewFormula/pdf-form-replace-font.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/HomebrewFormula/pdf-form-replace-font.rb b/HomebrewFormula/pdf-form-replace-font.rb
new file mode 100644
index 0000000..139d34e
--- /dev/null
+++ b/HomebrewFormula/pdf-form-replace-font.rb
@@ -0,0 +1,19 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+class PdfFormReplaceFont < Formula
+ desc "Replace fonts in a PDF form's text fields"
+ homepage "https://github.com/teddywing/pdf-form-replace-font"
+ url "https://github.com/teddywing/pdf-form-replace-font/releases/download/v0.0.1/pdf-form-replace-font_0.0.1_x86_64-apple-darwin.tar.bz2"
+ sha256 "429308aed5f60dc10306de3f040b030e04b36afbe460aa1771971270c85b7f08"
+
+ def install
+ bin.install Dir["bin/*"]
+ man1.install Dir["share/man/man1/*"]
+ end
+
+ test do
+ assert_equal version, shell_output("pdf-form-replace-font --version").strip
+ end
+end