20 lines
556 B
Ruby
20 lines
556 B
Ruby
class FormatUdf < Formula
|
|
desc "Bash script to format a block device to UDF"
|
|
homepage "https://github.com/JElchison/format-udf"
|
|
url "https://github.com/JElchison/format-udf/archive/1.8.0.tar.gz"
|
|
sha256 "52854097db9044d729fbd7cff012f4b554df01c15225ee17ec159c71da174c8d"
|
|
license "GPL-2.0"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, all: "b108eb2ba15d5bcf6458a29f6f05e57f9629370d4677f4e09930aad406f92da6"
|
|
end
|
|
|
|
def install
|
|
bin.install "format-udf.sh" => "format-udf"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/format-udf", "-h"
|
|
end
|
|
end
|