aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cowsay.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-19 00:16:57 +0100
committerMike McQuaid2015-01-19 18:19:48 +0100
commit228b072a00e2644b4f2cdb5bb2c196aabb076512 (patch)
tree3e68e5c95988273f174a1216f8dd976ccae0edca /Library/Formula/cowsay.rb
parente2814d746813347f620c11fcceb133c76c792798 (diff)
downloadhomebrew-228b072a00e2644b4f2cdb5bb2c196aabb076512.tar.bz2
cowsay: modernize, homepage fixed
Closes #36016. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/cowsay.rb')
-rw-r--r--Library/Formula/cowsay.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/cowsay.rb b/Library/Formula/cowsay.rb
index 2ac4807a5..b811b383a 100644
--- a/Library/Formula/cowsay.rb
+++ b/Library/Formula/cowsay.rb
@@ -1,16 +1,14 @@
-require 'formula'
-
class Cowsay < Formula
- homepage 'http://www.nog.net/~tony/warez/cowsay.shtml'
- url 'http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/c/cowsay/cowsay_3.03.orig.tar.gz'
- sha1 'cc65a9b13295c87df94a58caa8a9176ce5ec4a27'
+ homepage "https://web.archive.org/web/20120225123719/http://www.nog.net/~tony/warez/cowsay.shtml"
+ url "http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/c/cowsay/cowsay_3.03.orig.tar.gz"
+ sha1 "cc65a9b13295c87df94a58caa8a9176ce5ec4a27"
# Official download is 404:
- # url 'http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz'
+ # url "http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz"
def install
system "/bin/sh", "install.sh", prefix
- mv prefix/'man', share
+ mv prefix/"man", share
end
test do