minetest 5.1.1
Update minetest.rb Closes #49197. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
0c6936b620
commit
f3bf985b53
1 changed files with 9 additions and 11 deletions
|
@ -3,18 +3,12 @@ class Minetest < Formula
|
||||||
homepage "https://www.minetest.net/"
|
homepage "https://www.minetest.net/"
|
||||||
|
|
||||||
stable do
|
stable do
|
||||||
url "https://github.com/minetest/minetest/archive/5.1.0.tar.gz"
|
url "https://github.com/minetest/minetest/archive/5.1.1.tar.gz"
|
||||||
sha256 "ca53975eecf6a39383040658f41d697c8d7f8d5fe9176460f564979c73b53906"
|
sha256 "65d483bce244827de174edcb30f7e453b06a7590da6cdeb7a2237ff6180c090b"
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
resource "minetest_game" do
|
resource "minetest_game" do
|
||||||
url "https://github.com/minetest/minetest_game/archive/5.1.0.tar.gz"
|
url "https://github.com/minetest/minetest_game/archive/5.1.1.tar.gz"
|
||||||
sha256 "f165fac0081bf4797cf9094282cc25034b2347b3ea94e6bb8d9329c5ee63f41b"
|
sha256 "89dbb7cad2a1cec1ca0cdaa0f0eafc5699676bcd6880891c7720a10dfe7f6af9"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -62,7 +56,11 @@ class Minetest < Formula
|
||||||
to create those folders first).
|
to create those folders first).
|
||||||
|
|
||||||
If you would like to start the Minetest server from a terminal, run
|
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
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{prefix}/minetest.app/Contents/MacOS/minetest", "--version"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue