Commit f0c5c926 authored by supechicken's avatar supechicken Committed by GitHub

Brave 1.17.7 => 1.18.78 (#4914)

* Update brave.rb
Co-authored-by: default avatarsupechicken666 <68530202+supechicken666@users.noreply.github.com>
parent 7a9125ea
......@@ -3,15 +3,15 @@ require 'package'
class Brave < Package
description 'Next generation Brave browser for macOS, Windows, Linux, Android.'
homepage 'https://brave.com/'
version '1.17.7'
version '1.18.78'
compatibility 'x86_64'
case ARCH
when 'x86_64'
source_url 'https://github.com/brave/brave-browser/releases/download/v1.17.7/brave-browser-nightly-1.17.7-linux-amd64.zip'
source_sha256 '30d6be582c33dabf2873e7d32bbda8f252e327befc138158b31fa1ef97db6412'
source_url 'https://github.com/brave/brave-browser/releases/download/v1.18.78/brave-browser-1.18.78-linux-amd64.zip'
source_sha256 '64518ab54608f667aabc8c6d9e20feaf0ab489b04e9f21dd8fcf353e4ad388c4'
depends_on 'gtk3'
depends_on 'xdg_base'
depends_on 'sommelier'
depends_on 'sommelier' # The hardware acceleration with Wayland is broken, so use x11
end
def self.install
......@@ -19,5 +19,6 @@ class Brave < Package
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/brave"
FileUtils.cp_r '.', "#{CREW_DEST_PREFIX}/share/brave"
FileUtils.ln_s "#{CREW_PREFIX}/share/brave/brave", "#{CREW_DEST_PREFIX}/bin/brave"
FileUtils.ln_s CREW_LIB_PREFIX, "#{CREW_DEST_PREFIX}/share/#{ARCH_LIB}"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment