mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
23 lines
708 B
Ruby
23 lines
708 B
Ruby
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.9.4'
|
|
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 '7889c6722ff7caa8dac0a0acaae505561df4a93e12e8985feea7ccaf3fc2b221'
|
|
|
|
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
|