aboutsummaryrefslogtreecommitdiffstats
path: root/HomebrewFormula/passextract.rb
diff options
context:
space:
mode:
authorTeddy Wing2019-06-01 16:25:11 +0200
committerTeddy Wing2019-06-01 16:25:11 +0200
commit9b87a2600ff5263b6c3a22affdc5b02f3e7fb102 (patch)
treef460e82ccfd5033b96e0668ff0e7d700b0289029 /HomebrewFormula/passextract.rb
downloadhomebrew-formulae-9b87a2600ff5263b6c3a22affdc5b02f3e7fb102.tar.bz2
Add formulae from existing projects
Copy over all Homebrew formulae that I've been putting in project repositories. Now that I have a few formulae, grouping them together in a tap makes it more easy to install and upgrade them. No need to tap multiple repositories or use the full URL to a formula.
Diffstat (limited to 'HomebrewFormula/passextract.rb')
-rw-r--r--HomebrewFormula/passextract.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/HomebrewFormula/passextract.rb b/HomebrewFormula/passextract.rb
new file mode 100644
index 0000000..11a537b
--- /dev/null
+++ b/HomebrewFormula/passextract.rb
@@ -0,0 +1,20 @@
+class Passextract < Formula
+ desc "An interface to easily copy login information from Pass"
+ homepage "https://github.com/teddywing/Passextract"
+ version "0.4.0"
+ url "https://github.com/teddywing/Passextract/releases/download/v0.4.0/passextract-0.4.0_osx_amd64.tar.bz2"
+ sha256 "622439d19d2cedde4c6666d29cc9fad5487083da3e26660b66910e2f469eb54e"
+
+ def install
+ bin.install "passextract"
+ bash_completion.install "passextract.bash-completion" => "passextract"
+ man1.install "passextract.1"
+ end
+
+ def caveats; <<~EOS
+ To enable tab completion, add the following to your bash profile:
+
+ source #{etc}/bash_completion.d/passextract
+ EOS
+ end
+end