aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-04-06 19:52:57 -0700
committerAdam Vandenberg2012-04-08 15:19:38 -0700
commit04210790ea001a937f3ef19d907d019f1fa6d5b9 (patch)
tree5dae4c0337dcff9892a49230ee7414d51e696c22 /Library/Formula
parentda51cc5321ebbc060b4a0511b203695d6faad728 (diff)
downloadhomebrew-04210790ea001a937f3ef19d907d019f1fa6d5b9.tar.bz2
unp 2.0-pre7 + bash_completion
Update unp to 2.0-pre7. Unp is an archive unpacker. Install bash completion script. COPYING and CHANGELOG in the top level are new symlinks. rm them so the two mv commands will succeed. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unp.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/unp.rb b/Library/Formula/unp.rb
index 24fc8ef91..554b40fc4 100644
--- a/Library/Formula/unp.rb
+++ b/Library/Formula/unp.rb
@@ -1,17 +1,19 @@
require 'formula'
class Unp < Formula
- url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_1.0.15.tar.gz'
- mirror 'http://ftp.us.debian.org/debian/pool/main/u/unp/unp_1.0.15.tar.gz'
homepage 'http://packages.debian.org/source/stable/unp'
- md5 'bcf45819ac76093bba7b4a3f5b3a4bff'
+ url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_2.0~pre7.tar.bz2'
+ mirror 'http://ftp.us.debian.org/debian/pool/main/u/unp/unp_2.0~pre7.tar.bz2'
+ sha1 '8e26bba069b5015425c0684575e84ff131c09756'
+ version '2.0-pre7'
depends_on 'p7zip'
def install
bin.install %w[unp ucat]
man1.install "debian/unp.1"
-
+ (prefix+'etc/bash_completion.d').install 'bash_completion.d/unp'
+ %w[ COPYING CHANGELOG ].each { |f| rm f }
mv 'debian/README.Debian', 'README'
mv 'debian/copyright', 'COPYING'
mv 'debian/changelog', 'ChangeLog'