homebrew-core/Formula/unp.rb
nibbles 2bits a0a8de14b1 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>
2012-04-08 15:19:38 -07:00

21 lines
665 B
Ruby

require 'formula'
class Unp < Formula
homepage 'http://packages.debian.org/source/stable/unp'
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'
end
end