Skip to content

Commit 088a6a2

Browse files
authored
Merge pull request #271813 from Homebrew/tofrodos-1.9.0
tofrodos 1.9.0
2 parents 269ba9a + b5bf24b commit 088a6a2

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

Formula/t/tofrodos.rb

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
class Tofrodos < Formula
22
desc "Converts DOS <-> UNIX text files, alias tofromdos"
3-
homepage "https://www.thefreecountry.com/tofrodos/"
4-
url "https://www.thefreecountry.com/tofrodos/tofrodos-1.8.4.zip"
5-
sha256 "fd7b5b5b368a38104dd3c8845c1f24198d973d8b96d4765e24643266a0fa2034"
3+
homepage "https://github.com/ChristopherHeng/tofrodos"
4+
url "https://github.com/ChristopherHeng/tofrodos/archive/refs/tags/1.9.0.tar.gz"
5+
sha256 "f4e16646a1eca631cb0ba62440b47cb8651ce1e6bd2982e8426d3a98ad8083ec"
66
license "GPL-2.0-only"
77

8-
livecheck do
9-
url :homepage
10-
regex(/href=.*?tofrodos[._-]v?(\d+(?:\.\d+)+)\.(?:t|zip)/i)
11-
end
12-
138
bottle do
14-
sha256 cellar: :any_skip_relocation, arm64_tahoe: "a9b776268d2a16c1b90af8e737892c3d7d5cf7992e16d4c10f2577b6cd3ab2db"
15-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "8f3e81b2b9f9416c6dacd3ac6726ab17a4a03e0f63e736297a5f62e4428ac2b5"
16-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d9e3f6b98f27b4dadc65ad1e6a1f35af9f9ce2d004119a1f7a49f43ae5cd5456"
17-
sha256 cellar: :any_skip_relocation, sonoma: "39d54b14e9575c2e21770604bf6a361d6fbb1943a0ac5e953164c84869f7c144"
18-
sha256 cellar: :any_skip_relocation, arm64_linux: "061d7400737cb1ea86aff7de4596a7d69631ceb533e163d40cfc6cb8e3a44b3a"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "3c0ba730bd91559c765b22ddbfae28ea95c00ed5d4f9e354dce511f149251323"
9+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "07b62a45db3e96d8c124a399d4423631d0eb8161a1c60e90720049bc7b432b7c"
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "cf5149e273342d3b3bf5fe9c23e13232c44242720373c1149329c89f8eb2e18c"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "fd90aabaafa310b004b5b21bb0cb0f4b25b2d276aad5a3495661112a6765c258"
12+
sha256 cellar: :any_skip_relocation, sonoma: "41949c0a585cd9cc996d4397f9373f616e36a60d1f17f4b5605482b2aa02788a"
13+
sha256 cellar: :any_skip_relocation, arm64_linux: "e00859f93c7110703d8bb47a72f3a833ee22a85d1440d89230396caeef0faa6e"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "b7fcfcc80b11daa6dbe5d4658ffd01534fc61c8705bd78411c9405c945954626"
2015
end
2116

2217
def install
2318
mkdir_p [bin, man1]
2419

25-
system "make", "-C", "src", "all"
26-
system "make", "-C", "src", "BINDIR=#{bin}", "MANDIR=#{man1}", "install"
20+
system "make", "-f", "makefile.gcc", "all"
21+
system "make", "-f", "makefile.gcc", "BINDIR=#{bin}", "MANDIR=#{man1}", "install"
2722
end
2823

2924
test do

0 commit comments

Comments
 (0)