Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luanti 5.10.0 (new cask) #200275

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Casks/l/luanti.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cask "luanti" do
arch arm: "arm64", intel: "x86_64"

version "5.10.0,11.3"
sha256 arm: "aae12650013c1396ade97a7b504039e5615d46d09b6ede47dd5a6a1978cb7479",
intel: "9c20e452dc8c2c9e9d948d9cc9cdae43348b8203b4c86e512d5b771061a43038"

url "https://github.com/minetest/minetest/releases/download/#{version.csv.first}/luanti-#{version.csv.first}-macos#{version.csv.second}_#{arch}.zip",

Check failure on line 8 in Casks/l/luanti.rb

View workflow job for this annotation

GitHub Actions / test luanti (macos-13, intel)

Signature verification failed: /private/tmp/cask-audit20250201-6842-rccbfy/Luanti.app: rejected (the code is valid but does not seem to be an app) macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.

Check failure on line 8 in Casks/l/luanti.rb

View workflow job for this annotation

GitHub Actions / test luanti (macos-15, arm)

Signature verification failed: /private/tmp/cask-audit20250201-7577-hsgbn3/Luanti.app: rejected (the code is valid but does not seem to be an app) macOS on ARM requires software to be signed. Please contact the upstream developer to let them know they should sign and notarize their software.
verified: "github.com/minetest/minetest/"
name "Luanti"
desc "Voxel game-creation platform"
homepage "https://www.luanti.org/"

livecheck do
url "https://www.luanti.org/downloads/"
regex(/href=.*?luanti[._-]v?(\d+(?:\.\d+)+)[._-]macos(\d+(?:\.\d+)+)[._-]#{arch}\.zip/i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match[0]},#{match[1]}" }
end
end

bevanjkay marked this conversation as resolved.
Show resolved Hide resolved
depends_on macos: ">= :big_sur"

app "Luanti.app"

zap trash: [
"~/Library/Application Support/minetest",
"~/Library/Saved Application State/org.luanti.luanti.savedState",
]
end
Loading