d87063d32f
These dependencies are automatically detected from the URL, so declaring them is redundant. If these formulae ever get a head or devel spec, then explicit xz deps would need to be re-scoped appropriately. Thus we should remove them.
18 lines
623 B
Ruby
18 lines
623 B
Ruby
require 'formula'
|
|
|
|
class Checkbashisms < Formula
|
|
homepage 'http://manpages.ubuntu.com/manpages/natty/man1/checkbashisms.1.html'
|
|
# Get upgrades at https://launchpad.net/ubuntu/+source/devscripts/
|
|
url 'https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.13.4.tar.xz'
|
|
sha1 '94e7225c2f9f9062cea35c8010e984ae98834c28'
|
|
|
|
def install
|
|
inreplace 'scripts/checkbashisms.pl', '###VERSION###', "#{version}ubuntu1"
|
|
bin.install 'scripts/checkbashisms.pl' => 'checkbashisms'
|
|
man1.install 'scripts/checkbashisms.1'
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/checkbashisms --version | grep #{version}"
|
|
end
|
|
end
|