homebrew-core/Formula/maven-shell.rb

17 lines
439 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class MavenShell < Formula
homepage 'http://shell.sonatype.org/'
url 'http://repo1.maven.org/maven2/org/sonatype/maven/shell/dist/mvnsh-assembly/1.1.0/mvnsh-assembly-1.1.0-bin.tar.gz'
sha1 '0aa91e810be695952f56e7369c00d9e4bf1a3ead'
def install
# Remove windows files.
rm_f Dir["bin/*.bat"]
2012-11-11 19:20:09 +00:00
prefix.install_metafiles
libexec.install Dir['*']
2012-11-11 19:20:09 +00:00
bin.install_symlink libexec/"bin/mvnsh"
end
end