29 lines
1018 B
Ruby
29 lines
1018 B
Ruby
class Zsxd < Formula
|
|
desc "Zelda Mystery of Solarus XD"
|
|
homepage "https://www.solarus-games.org/en/games/the-legend-of-zelda-mystery-of-solarus-xd"
|
|
url "https://gitlab.com/solarus-games/zsxd/-/archive/v1.12.2/zsxd-v1.12.2.tar.bz2"
|
|
sha256 "656ac2033db2aca7ad0cd5c7abb25d88509b312b155ab83546c90abbc8583df1"
|
|
head "https://gitlab.com/solarus-games/zsxd.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
rebuild 1
|
|
sha256 "aabcc393aae8f00a45ffa24d959ff57a6023caace90a815f8107c579e113b87e" => :catalina
|
|
sha256 "8b6e336bd61f16c620ab8323ccd15dfc35cf1665c71799a838c4436fefd561b0" => :mojave
|
|
sha256 "fa0726547d624647bd7453100b6e2221ce0ec9174e0cd43275844b09aefb6c0d" => :high_sierra
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "solarus"
|
|
|
|
def install
|
|
system "cmake", ".", *std_cmake_args, "-DSOLARUS_INSTALL_DATADIR=#{share}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system Formula["solarus"].bin/"solarus-run", "-help"
|
|
system "/usr/bin/unzip", pkgshare/"data.solarus"
|
|
end
|
|
end
|