aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-10-21 13:35:37 -0700
committerAdam Vandenberg2012-10-21 13:37:19 -0700
commit5f15781423362941cbcc226324ccfb1b3d936aa8 (patch)
treed39f72ed69b19b8742b60d741de71266e19a6857 /Library/Formula
parent2911a72b0840eee856f06070f672257e98fb765c (diff)
downloadhomebrew-5f15781423362941cbcc226324ccfb1b3d936aa8.tar.bz2
pax-construct: remove skip_clean
Also simplify install and move docs out of bin
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pax-construct.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/pax-construct.rb b/Library/Formula/pax-construct.rb
index 1bb840a13..88a1d4cb7 100644
--- a/Library/Formula/pax-construct.rb
+++ b/Library/Formula/pax-construct.rb
@@ -5,15 +5,10 @@ class PaxConstruct < Formula
url 'http://repo1.maven.org/maven2/org/ops4j/pax/construct/scripts/1.5/scripts-1.5.zip'
sha1 'af7bf6d6ab4947e1b38a33e89fb1d2dbfe4ad864'
- skip_clean :all
-
def install
rm_rf Dir['bin/*.bat']
+ prefix.install 'bin/LICENSE', 'bin/NOTICE'
libexec.install Dir['*']
- bin.mkpath
- Dir["#{libexec}/bin/*"].each do |f|
- ln_s f, bin
- chmod 0755, (bin + File.basename(f))
- end
+ bin.install_symlink Dir["#{libexec}/bin/*"]
end
end