35 lines
1.9 KiB
Ruby
35 lines
1.9 KiB
Ruby
class Convmv < Formula
|
|
desc "Filename encoding conversion tool"
|
|
homepage "https://www.j3e.de/linux/convmv/"
|
|
url "https://www.j3e.de/linux/convmv/convmv-2.05.tar.gz"
|
|
sha256 "53b6ac8ae4f9beaee5bc5628f6a5382bfd14f42a5bed3d881b829d7b52d81ca6"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(/href=.*?convmv[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_ventura: "a814874b65a3d67de4d5c4f0c1ae2dd94584e23cc8092b2df1cc95b35f7c260d"
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "f70af7ba1886110a7e4eef42e929480994cf73f6fa0511df4a84b17fc542720b"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "3b5226bc4a647dfcfacba43b505e94cd1c2ad5037f04660b267fe4d2f1a2158a"
|
|
sha256 cellar: :any_skip_relocation, ventura: "333fc843d1aa7546df1fc8d19b0da7691125c6b5337e2ec54f458ad97cf99014"
|
|
sha256 cellar: :any_skip_relocation, monterey: "3a165d560e9a22558381b704eafe08dfaa0267b7d04b56505072ca9fdc6feaa5"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "20517059aabe3b68553cc8a756331db3692732cddd5f3cf10905189f1494ddef"
|
|
sha256 cellar: :any_skip_relocation, catalina: "203e34d5e76b55fabbf8548b93f749cd044ad843ca9062a916026e548332f7b0"
|
|
sha256 cellar: :any_skip_relocation, mojave: "8e5a0c8207cb0c57f1640c5a8c9a4a05cd9c8ffc68d922774cae4bfa56b691e6"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "856021a73afb22052e496ced9eb1a7386d810a6d75903aac99feb98298801ea8"
|
|
sha256 cellar: :any_skip_relocation, sierra: "cc6cf7ff9cfd8909a76e29dd6ddbdddc9ad95638e154b72a36fe6c255e3a367d"
|
|
sha256 cellar: :any_skip_relocation, el_capitan: "43278a7c7ef7720e20fed3179ff8519230678d3fd4e98f4b0e8e796b5fdb40ac"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "7fa873d27984fa5cd6b1b3df0b75273172c8a25a4a74d4c756305af54e72b6bc"
|
|
end
|
|
|
|
def install
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/convmv", "--list"
|
|
end
|
|
end
|