mp3check: migrate to archive URL & add test

This commit is contained in:
Dominyk Tiller 2016-08-28 19:46:53 +01:00
parent eec9482b3b
commit c30cbdb38c
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -1,7 +1,7 @@
class Mp3check < Formula
desc "Tool to check mp3 files for consistency"
homepage "https://code.google.com/p/mp3check/"
url "https://mp3check.googlecode.com/files/mp3check-0.8.7.tgz"
homepage "https://code.google.com/archive/p/mp3check/"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp3check/mp3check-0.8.7.tgz"
sha256 "27d976ad8495671e9b9ce3c02e70cb834d962b6fdf1a7d437bb0e85454acdd0e"
bottle do
@ -18,4 +18,8 @@ class Mp3check < Formula
system "make"
bin.install "mp3check"
end
test do
assert version.to_s, shell_output("#{bin}/mp3check --version")
end
end