minetest 5.1.1

Update minetest.rb

Closes #49197.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
SeekingMeaning 2020-01-19 21:27:58 -08:00 committed by Rui Chen
parent 0c6936b620
commit f3bf985b53

View file

@ -3,18 +3,12 @@ class Minetest < Formula
homepage "https://www.minetest.net/"
stable do
url "https://github.com/minetest/minetest/archive/5.1.0.tar.gz"
sha256 "ca53975eecf6a39383040658f41d697c8d7f8d5fe9176460f564979c73b53906"
# This patch is already merged in master and it should be removed when new version of mintest is released
patch do
url "https://github.com/minetest/minetest/pull/9064.patch?full_index=1"
sha256 "78c5148ae5260bf2220ca18849c698e92c93e1c92b8f287135b293457c9ab6cd"
end
url "https://github.com/minetest/minetest/archive/5.1.1.tar.gz"
sha256 "65d483bce244827de174edcb30f7e453b06a7590da6cdeb7a2237ff6180c090b"
resource "minetest_game" do
url "https://github.com/minetest/minetest_game/archive/5.1.0.tar.gz"
sha256 "f165fac0081bf4797cf9094282cc25034b2347b3ea94e6bb8d9329c5ee63f41b"
url "https://github.com/minetest/minetest_game/archive/5.1.1.tar.gz"
sha256 "89dbb7cad2a1cec1ca0cdaa0f0eafc5699676bcd6880891c7720a10dfe7f6af9"
end
end
@ -62,7 +56,11 @@ class Minetest < Formula
to create those folders first).
If you would like to start the Minetest server from a terminal, run
"/Applications/minetest.app/Contents/MacOS/minetest --server".
"#{prefix}/minetest.app/Contents/MacOS/minetest --server".
EOS
end
test do
system "#{prefix}/minetest.app/Contents/MacOS/minetest", "--version"
end
end