aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-02 11:19:25 +0100
committerMike McQuaid2015-02-02 11:05:52 +0000
commite3f8a0a62885aac67743d8919948e22d89ae9f4d (patch)
treefce6e490a5663d203b28303278b44535b8f79621 /Library
parent6cdf8a3a05a54e563b727bad040d07a7c486c0d5 (diff)
downloadhomebrew-e3f8a0a62885aac67743d8919948e22d89ae9f4d.tar.bz2
aria2 1.18.9
Closes #36457. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/aria2.rb22
1 files changed, 7 insertions, 15 deletions
diff --git a/Library/Formula/aria2.rb b/Library/Formula/aria2.rb
index 6890344fa..4420c6dcd 100644
--- a/Library/Formula/aria2.rb
+++ b/Library/Formula/aria2.rb
@@ -1,20 +1,7 @@
-require "formula"
-
class Aria2 < Formula
homepage "http://aria2.sourceforge.net/"
- revision 1
-
- stable do
- url "https://downloads.sourceforge.net/project/aria2/stable/aria2-1.18.8/aria2-1.18.8.tar.bz2"
- sha1 "b6ad7064b1ea769e78f6a7dc9787a12cfc1e153f"
-
- # Upstream patch to fix crash on OSX when proxy is used
- # See: https://github.com/tatsuhiro-t/aria2/commit/9a931e7
- patch do
- url "https://github.com/tatsuhiro-t/aria2/commit/9a931e7.diff"
- sha1 "386c2a831e9ab91524a1af1eeb3037a819b85ec5"
- end
- end
+ url "https://downloads.sourceforge.net/project/aria2/stable/aria2-1.18.9/aria2-1.18.9.tar.bz2"
+ sha1 "31ac90d9ffcdba4cdf936ddfbc3d8f08416360e6"
bottle do
cellar :any
@@ -44,4 +31,9 @@ class Aria2 < Formula
bash_completion.install "doc/bash_completion/aria2c"
end
+
+ test do
+ system "#{bin}/aria2c", "http://brew.sh"
+ assert File.exist? "index.html"
+ end
end