Skip to content

Commit 879e354

Browse files
committed
puzzles 20250926
Signed-off-by: botantony <[email protected]>
1 parent ad2eada commit 879e354

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Formula/p/puzzles.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ class Puzzles < Formula
22
desc "Collection of one-player puzzle games"
33
homepage "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
44
# Extract https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles.tar.gz to get the version number
5-
url "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-20250904.2376227.tar.gz"
6-
version "20250904"
7-
sha256 "145f91489a86321995e5049a34e06955e2204b98c071025f916d0cbdd5719cf2"
5+
url "https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-20250926.e00cb46.tar.gz"
6+
version "20250926"
7+
sha256 "0ac32b858a5a4d1333dfae24b796ff6c263aecf0a86304b9d05c70f268b64026"
88
license "MIT"
99
head "https://git.tartarus.org/simon/puzzles.git", branch: "main"
1010

@@ -46,6 +46,9 @@ class Puzzles < Formula
4646
conflicts_with "samba", because: "both install `net` binaries"
4747

4848
def install
49+
# Disable universal binaries
50+
inreplace "cmake/platforms/osx.cmake", "set(CMAKE_OSX_ARCHITECTURES arm64 x86_64)", "" if OS.mac?
51+
4952
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
5053
system "cmake", "--build", "build"
5154
system "cmake", "--install", "build"

0 commit comments

Comments
 (0)