2013-07-15 19:34:21 +00:00
|
|
|
class Checkbashisms < Formula
|
2014-12-27 15:59:49 +00:00
|
|
|
homepage "http://manpages.ubuntu.com/manpages/natty/man1/checkbashisms.1.html"
|
2013-10-24 08:36:51 +00:00
|
|
|
# Get upgrades at https://launchpad.net/ubuntu/+source/devscripts/
|
2014-12-27 15:59:49 +00:00
|
|
|
url "https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.13.4.tar.xz"
|
|
|
|
sha1 "94e7225c2f9f9062cea35c8010e984ae98834c28"
|
2013-07-15 19:34:21 +00:00
|
|
|
|
2014-03-21 12:44:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-06 10:50:40 +00:00
|
|
|
sha1 "ba3d65481d041cc28b3f1c2a0887a1c2a08694d0" => :yosemite
|
2014-03-21 12:44:52 +00:00
|
|
|
sha1 "0a2f8609c179a3096683645b64410dc3388245e6" => :mavericks
|
|
|
|
sha1 "973505a805eadf37740db75a646e168b8c6545c7" => :mountain_lion
|
|
|
|
sha1 "81691ff80d98176deefb878972ae419567326d12" => :lion
|
|
|
|
end
|
|
|
|
|
2013-07-15 19:34:21 +00:00
|
|
|
def install
|
2014-12-27 15:59:49 +00:00
|
|
|
inreplace "scripts/checkbashisms.pl", "###VERSION###", "#{version}ubuntu1"
|
|
|
|
bin.install "scripts/checkbashisms.pl" => "checkbashisms"
|
|
|
|
man1.install "scripts/checkbashisms.1"
|
2013-07-15 19:34:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/checkbashisms --version | grep #{version}"
|
|
|
|
end
|
|
|
|
end
|