2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-31 09:26:02 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Unp < Formula
|
2010-10-01 11:07:36 +00:00
|
|
|
homepage 'http://packages.debian.org/source/stable/unp'
|
2012-08-22 16:15:14 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_2.0~pre4.tar.gz'
|
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/u/unp/unp_2.0~pre4.tar.gz'
|
|
|
|
sha1 '6c07989297a1f15bd629bd64ff02d6cd13919775'
|
|
|
|
version '2.0-pre4'
|
|
|
|
|
|
|
|
devel do
|
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2'
|
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2'
|
|
|
|
sha1 'b91f4cbc4720b3aace147652ac2043cf74668244'
|
|
|
|
version '2.0-pre7-nmu1'
|
|
|
|
end
|
2009-08-31 09:26:02 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'p7zip'
|
2009-08-31 09:26:02 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install %w[unp ucat]
|
|
|
|
man1.install "debian/unp.1"
|
2013-05-03 18:03:31 +00:00
|
|
|
bash_completion.install 'bash_completion.d/unp'
|
2012-04-07 02:52:57 +00:00
|
|
|
%w[ COPYING CHANGELOG ].each { |f| rm f }
|
2010-04-07 05:58:35 +00:00
|
|
|
mv 'debian/README.Debian', 'README'
|
|
|
|
mv 'debian/copyright', 'COPYING'
|
|
|
|
mv 'debian/changelog', 'ChangeLog'
|
2009-08-31 09:26:02 +00:00
|
|
|
end
|
|
|
|
end
|