2015-07-23 21:22:03 +00:00
|
|
|
class ImgurScreenshot < Formula
|
|
|
|
desc "Take screenshot selection, upload to imgur. + more cool things"
|
|
|
|
homepage "https://github.com/jomo/imgur-screenshot"
|
2015-12-06 17:19:17 +00:00
|
|
|
url "https://github.com/jomo/imgur-screenshot/archive/v1.7.0.tar.gz"
|
|
|
|
sha256 "ddfd9cb1eef6880f9a5cdff09c6f0e5d6e687a0716128758b1f23457c014fec6"
|
2015-07-23 21:22:03 +00:00
|
|
|
head "https://github.com/jomo/imgur-screenshot.git"
|
|
|
|
|
2015-10-23 11:53:16 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2015-07-23 21:22:03 +00:00
|
|
|
option "with-terminal-notifier", "Needed for Mac OS X Notifications"
|
|
|
|
|
|
|
|
depends_on "terminal-notifier" => :optional
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "imgur-screenshot.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-10-23 11:53:16 +00:00
|
|
|
system "#{bin}/imgur-screenshot.sh", "--check" # checks deps
|
2015-07-23 21:22:03 +00:00
|
|
|
end
|
|
|
|
end
|