homebrew-core/Formula/zsdx.rb
2019-07-27 14:54:01 -04:00

27 lines
1,010 B
Ruby

class Zsdx < Formula
desc "Zelda Mystery of Solarus DX"
homepage "https://www.solarus-games.org/en/games/the-legend-of-zelda-mystery-of-solarus-dx"
url "https://gitlab.com/solarus-games/zsdx/-/archive/zsdx-1.12.0/zsdx-zsdx-1.12.0.tar.bz2"
sha256 "17922a65fa46101dafa36af2b26e82be0203f94fa55516efee969f64eabcb606"
head "https://gitlab.com/solarus-games/zsdx.git"
bottle do
cellar :any_skip_relocation
sha256 "f56d0855f0eb483fb531c92aa2b65a1c758f8c226196cdbef156ddc483345c1c" => :mojave
sha256 "110c4a1ba313aacf61fff839015374cfbee29e88e23b539152827027251ace1c" => :high_sierra
sha256 "00694b0873789ff7a904e2409dd2f87e57d37798823bdad986dd8007c0adf036" => :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