homebrew-core/Formula/imgur-screenshot.rb
jomo 56bd62002e imgur-screenshot 1.7.1
Closes #138.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-07 18:05:18 -04:00

21 lines
643 B
Ruby

class ImgurScreenshot < Formula
desc "Take screenshot selection, upload to imgur. + more cool things"
homepage "https://github.com/jomo/imgur-screenshot"
url "https://github.com/jomo/imgur-screenshot/archive/v1.7.1.tar.gz"
sha256 "2a9ac0f59b3b6819fec5dfc4bd50d1c28adefbdaf31f0bf93a52fa40b283cf44"
head "https://github.com/jomo/imgur-screenshot.git"
bottle :unneeded
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
system "#{bin}/imgur-screenshot.sh", "--check" # checks deps
end
end