Commit 3ec6eee9 authored by Stefano Capitani's avatar Stefano Capitani
Browse files

Spelling corrections and correct the beta logo


Signed-off-by: Stefano Capitani's avatarStefano Capitani <stefano@manjaro.org>
parent e0b9e056
......@@ -5,8 +5,8 @@
# Arch credits:
# Maintainer: Greg White <gwhite@kupulau.com>
_pkgname=brave-beta
pkgname=$_pkgname-browser
_pkgname=brave
pkgname=$_pkgname-browser-beta
pkgver=$(echo $(curl -s 'https://brave-browser-downloads.s3.brave.com/latest/beta.version'))
pkgrel=1
pkgdesc='Web browser that blocks ads and trackers by default (latest binary release).'
......@@ -19,17 +19,17 @@ optdepends=("cups: Printer support"
"libgnome-keyring: Enable GNOME keyring support")
makedepends=('curl')
provides=("${_pkgname%-bin}" "brave-browser" "brave")
conflicts=("${_pkgname%-bin}" "brave" "$_pkgname")
replaces=("$_pkgname")
conflicts=("${_pkgname%-bin}" "brave" "$_pkgname" 'brave-beta-browser')
replaces=("$_pkgname" 'brave-beta-browser')
source=("${_pkgname}-${pkgver}.zip::https://github.com/brave/brave-browser/releases/download/v${pkgver}/brave-browser-beta-${pkgver}-linux-amd64.zip"
"LICENSE::https://raw.githubusercontent.com/brave/brave-browser/master/LICENSE"
"$_pkgname.sh"
"$_pkgname-beta.sh"
"brave-browser.desktop"
"logo.png")
options=(!strip)
sha256sums=('1f757824594ceca0c5e443b41459600b2c7cbffd27aea2bf8510b0c47700c7e6'
'3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04'
'ae44455a9ce06c68eec22ade43815d8a809d7fde3e90a950400e2ba7da6a7560'
'cfcdb2afe2ecf1c5ec786fff57c6aca84f42a101807143da3e4ae620d7235dff'
'76d0c74c6676b6e579c37c41846140bc76a86e27c5cabd21bc9ae4c4c505cf60'
'4a585cb8740f4c9ba267f0df19d894eb9fae1b9a6af4a3e44737b7d0bcbc104a')
noextract=("$_pkgname-$pkgver.zip")
......@@ -48,9 +48,10 @@ package() {
# see https://github.com/brave/brave-browser/issues/17122
chmod 755 "$pkgdir/usr/lib/$_pkgname/chrome_crashpad_handler"
install -Dm0755 "$_pkgname.sh" "$pkgdir/usr/bin/brave"
install -Dm0755 "$_pkgname-beta.sh" "$pkgdir/usr/bin/brave"
install -Dm0644 -t "$pkgdir/usr/share/applications" "brave-browser.desktop"
install -Dm0644 "logo.png" "$pkgdir/usr/share/pixmaps/brave-desktop.png"
#install -Dm0644 "logo.png" "$pkgdir/usr/share/pixmaps/brave-desktop.png"
install -Dm0644 /usr/lib/brave/product_logo_128_beta.png "$pkgdir/usr/share/pixmaps/brave-desktop.png"
install -Dm0664 -t "${pkgdir}/usr/share/licenses/${_pkgname}" "LICENSE"
ln -s /usr/lib/PepperFlash "${pkgdir}/usr/lib/pepperflashplugin-nonfree"
}
......@@ -24,4 +24,4 @@ fi
# GH Issue: https://github.com/brave/brave-browser/issues/4142
# NOTE: Replace with an exec call once we don't have to work around
# this bug by having the browser be a subprocess of this script
/usr/lib/brave-beta/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS || true
/usr/lib/brave/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS || true
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