Skip to content

Commit

Permalink
imgur-screenshot 1.5.4 (new formula)
Browse files Browse the repository at this point in the history
https://github.com/jomo/imgur-screenshot
The Imgur-Screenshot uploader for Linux & OS X from imgur.com/tools
"Take screenshot selection, upload to imgur. + more cool things"

formula style fixes:
"with-terminal-notifier" option description changed
empty line between the option and the dependency
tests trimmed down
fixed: `checksum` (line 6) should be put before `head` (line 4)

Closes Homebrew/legacy-homebrew#42068.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
ftc2 authored and DomT4 committed Jul 24, 2015
1 parent 9352f8d commit 24f51a1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Formula/imgur-screenshot.rb
@@ -0,0 +1,19 @@
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.5.4.tar.gz"
sha256 "147fe1c3b3e407d952fa8abbdb9b436192133cf7a56278edc0dd87c2a9c9c430"
head "https://github.com/jomo/imgur-screenshot.git"

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

0 comments on commit 24f51a1

Please sign in to comment.