unp: fix https, sha 256, remove require
This commit is contained in:
parent
168c30aa99
commit
0bda3ad3e7
1 changed files with 14 additions and 16 deletions
|
@ -1,28 +1,26 @@
|
||||||
require 'formula'
|
|
||||||
|
|
||||||
class Unp < Formula
|
class Unp < Formula
|
||||||
homepage 'http://packages.debian.org/source/stable/unp'
|
homepage "https://packages.debian.org/source/stable/unp"
|
||||||
url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_2.0~pre4.tar.gz'
|
url "https://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'
|
mirror "https://ftp.us.debian.org/debian/pool/main/u/unp/unp_2.0~pre4.tar.gz"
|
||||||
sha1 '6c07989297a1f15bd629bd64ff02d6cd13919775'
|
sha256 "25ecea61a68408f69618502132bf8edb350355fc8ef72ae5b20456d7850331bf"
|
||||||
version '2.0-pre4'
|
version "2.0-pre4"
|
||||||
|
|
||||||
devel do
|
devel do
|
||||||
url 'http://mirrors.kernel.org/debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2'
|
url "https://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'
|
mirror "https://ftp.us.debian.org/debian/pool/main/u/unp/unp_2.0~pre7+nmu1.tar.bz2"
|
||||||
sha1 'b91f4cbc4720b3aace147652ac2043cf74668244'
|
sha256 "7c2d6f2835a5a59ee2588b66d8015d97accd62e71e38ba90ebd4d71d8fd78227"
|
||||||
version '2.0-pre7-nmu1'
|
version "2.0-pre7-nmu1"
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on 'p7zip'
|
depends_on "p7zip"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
bin.install %w[unp ucat]
|
bin.install %w[unp ucat]
|
||||||
man1.install "debian/unp.1"
|
man1.install "debian/unp.1"
|
||||||
bash_completion.install 'bash_completion.d/unp'
|
bash_completion.install "bash_completion.d/unp"
|
||||||
%w[ COPYING CHANGELOG ].each { |f| rm f }
|
%w[ COPYING CHANGELOG ].each { |f| rm f }
|
||||||
mv 'debian/README.Debian', 'README'
|
mv "debian/README.Debian", "README"
|
||||||
mv 'debian/copyright', 'COPYING'
|
mv "debian/copyright", "COPYING"
|
||||||
mv 'debian/changelog', 'ChangeLog'
|
mv "debian/changelog", "ChangeLog"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue