require 'package' class Tauri_cli < Package description 'Build smaller, faster, and more secure desktop and mobile applications with a web frontend.' homepage 'https://tauri.app/' version '2.5.0' license 'Apache-2.0, MIT' compatibility 'x86_64' min_glibc '2.29' source_url "https://github.com/tauri-apps/tauri/releases/download/tauri-cli-v#{version}/cargo-tauri-x86_64-unknown-linux-gnu.tgz" source_sha256 '4ef86eb8bb53a9ec096a0ee3c406bfeaa8c371902877ee77313b6f9656f0b263' no_compile_needed def self.install FileUtils.install 'cargo-tauri', "#{CREW_DEST_PREFIX}/bin/tauri", mode: 0o755 end def self.postinstall ExitMessage.add "\nType 'tauri' to get started.\n" end end