homebrew-core/Formula/xrick.rb

27 lines
839 B
Ruby
Raw Normal View History

2017-02-06 10:27:03 +00:00
class Xrick < Formula
desc "Clone of Rick Dangerous"
homepage "https://www.bigorno.net/xrick/"
url "https://www.bigorno.net/xrick/xrick-021212.tgz"
2017-02-06 10:27:03 +00:00
sha256 "aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b"
bottle do
2017-02-08 08:28:19 +00:00
sha256 "03e69c34042ffa8849aaa653f06ae889a6d404797a42c6549ce7de8d3de72dce" => :sierra
sha256 "772f6718786e66657b0647dc7233b3680903a2e16d06fa59a9f804dd33d5096a" => :el_capitan
sha256 "2d4e9e140f15692acd4d0e9f4a9da08d1a3e6f3d3fdbc8d4d799e6d2bde91e8f" => :yosemite
2017-02-06 10:27:03 +00:00
end
depends_on "sdl"
def install
inreplace "src/xrick.c", "data.zip", "#{pkgshare}/data.zip"
system "make"
bin.install "xrick"
man6.install "xrick.6.gz"
pkgshare.install "data.zip"
end
test do
assert_match "xrick [version ##{version}]", shell_output("#{bin}/xrick --help", 1)
end
end