0.13.0dev. Work around sandbox by default settings.

This commit is contained in:
Pedro A. López-Valencia
2017-01-27 14:53:18 -05:00
parent f36c22c43b
commit 483d220de8
3 changed files with 23 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = brave-bin pkgbase = brave-bin
pkgdesc = A web browser that stops ads and trackers by default. Binary release. pkgdesc = A web browser that stops ads and trackers by default. Binary release.
pkgver = 0.12.15 pkgver = 0.13.0
pkgrel = 2 pkgrel = 1
url = https://www.brave.com/ url = https://www.brave.com/
arch = x86_64 arch = x86_64
license = custom:several license = custom:several
@@ -20,13 +20,15 @@ pkgbase = brave-bin
conflicts = brave conflicts = brave
replaces = brave-browser-bin replaces = brave-browser-bin
options = !strip options = !strip
source = brave-bin-0.12.15.tar.bz2::https://github.com/brave/browser-laptop/releases/download/v0.12.15dev/Brave.tar.bz2 source = brave-bin-0.13.0.tar.bz2::https://github.com/brave/browser-laptop/releases/download/v0.13.0dev/Brave.tar.bz2
source = brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png source = brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png
source = MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt source = MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt
source = brave
source = brave.desktop source = brave.desktop
sha512sums = 440248f35e16de49f61d2c782ccd45d6a414dd5d2ee3b6b3f99a826b8899a7999be8475453735e830eadcd70605e5b62efc398c9f4b007a53762e526c3c8e8df sha512sums = e6cd17443b1a1687617b543664abdc9f4eb7c637cbb7f89e5dfea72ad98b6eae6c4fbc6574d9363db28e9e566bb462573e803f67c1351d596cc25e706f76a05b
sha512sums = f5d0a906dd91f5da6af88d8c31098a4fe0e38baf27e52c2e77ba8cf7a2d41ebddad5dbc543b14766fc2684ae27e7e2e5faf8cd9036dcde0a7d4b05943599ed41 sha512sums = f5d0a906dd91f5da6af88d8c31098a4fe0e38baf27e52c2e77ba8cf7a2d41ebddad5dbc543b14766fc2684ae27e7e2e5faf8cd9036dcde0a7d4b05943599ed41
sha512sums = c1e3a0c8f5267fb5c0b65733bda037c62d914ed989bee0f510d8196b1029eec00d40f415ce1514a4996d420ba02d856d04db0915b64573ef4a36033cc5efb94e sha512sums = c1e3a0c8f5267fb5c0b65733bda037c62d914ed989bee0f510d8196b1029eec00d40f415ce1514a4996d420ba02d856d04db0915b64573ef4a36033cc5efb94e
sha512sums = 15c8ddd91dc5da3b20b551593594c23248d4d7945d9635b4240ad23cf9cc605ce83ed3082e75c0376f6a15c5cf0796c0beb4c6721334b3759708a3063f89c47d
sha512sums = 337de1b406c89418fb27a49b1a9fa4cfef94eefbf2901bc60f5ddac0b9094924e940fcbcb233cbbeff2742e6b3c26cc6dbdb75cd29798eff8c8be92fce0df2e7 sha512sums = 337de1b406c89418fb27a49b1a9fa4cfef94eefbf2901bc60f5ddac0b9094924e940fcbcb233cbbeff2742e6b3c26cc6dbdb75cd29798eff8c8be92fce0df2e7
pkgname = brave-bin pkgname = brave-bin

View File

@@ -1,8 +1,8 @@
# Maintainer: Please see AUR package page for current maintainer(s) and contact information. # Maintainer: Please see AUR package page for current maintainer(s) and contact information.
pkgname=brave-bin pkgname=brave-bin
pkgver=0.12.15 pkgver=0.13.0
pkgrel=2 pkgrel=1
pkgdesc="A web browser that stops ads and trackers by default. Binary release." pkgdesc="A web browser that stops ads and trackers by default. Binary release."
arch=('x86_64') # Upstream supports x86_64 only arch=('x86_64') # Upstream supports x86_64 only
url="https://www.brave.com/" url="https://www.brave.com/"
@@ -16,36 +16,33 @@ replaces=('brave-browser-bin')
source=("$pkgname-$pkgver.tar.bz2::https://github.com/brave/browser-laptop/releases/download/"v$pkgver"dev/Brave.tar.bz2" source=("$pkgname-$pkgver.tar.bz2::https://github.com/brave/browser-laptop/releases/download/"v$pkgver"dev/Brave.tar.bz2"
"brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png" "brave.png::https://github.com/brave/browser-laptop/raw/master/res/app.png"
"MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt" "MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt"
"brave"
"brave.desktop") "brave.desktop")
options=(!strip) options=(!strip)
sha512sums=('440248f35e16de49f61d2c782ccd45d6a414dd5d2ee3b6b3f99a826b8899a7999be8475453735e830eadcd70605e5b62efc398c9f4b007a53762e526c3c8e8df' sha512sums=('e6cd17443b1a1687617b543664abdc9f4eb7c637cbb7f89e5dfea72ad98b6eae6c4fbc6574d9363db28e9e566bb462573e803f67c1351d596cc25e706f76a05b'
'f5d0a906dd91f5da6af88d8c31098a4fe0e38baf27e52c2e77ba8cf7a2d41ebddad5dbc543b14766fc2684ae27e7e2e5faf8cd9036dcde0a7d4b05943599ed41' 'f5d0a906dd91f5da6af88d8c31098a4fe0e38baf27e52c2e77ba8cf7a2d41ebddad5dbc543b14766fc2684ae27e7e2e5faf8cd9036dcde0a7d4b05943599ed41'
'c1e3a0c8f5267fb5c0b65733bda037c62d914ed989bee0f510d8196b1029eec00d40f415ce1514a4996d420ba02d856d04db0915b64573ef4a36033cc5efb94e' 'c1e3a0c8f5267fb5c0b65733bda037c62d914ed989bee0f510d8196b1029eec00d40f415ce1514a4996d420ba02d856d04db0915b64573ef4a36033cc5efb94e'
'15c8ddd91dc5da3b20b551593594c23248d4d7945d9635b4240ad23cf9cc605ce83ed3082e75c0376f6a15c5cf0796c0beb4c6721334b3759708a3063f89c47d'
'337de1b406c89418fb27a49b1a9fa4cfef94eefbf2901bc60f5ddac0b9094924e940fcbcb233cbbeff2742e6b3c26cc6dbdb75cd29798eff8c8be92fce0df2e7') '337de1b406c89418fb27a49b1a9fa4cfef94eefbf2901bc60f5ddac0b9094924e940fcbcb233cbbeff2742e6b3c26cc6dbdb75cd29798eff8c8be92fce0df2e7')
package() { package() {
cd "$srcdir/$_pkgname"
install -d -m0755 "$pkgdir"/usr/lib install -d -m0755 "$pkgdir"/usr/lib
cp -a --reflink=auto "$srcdir"/Brave-linux-x64 "$pkgdir"/usr/lib/brave # Yes, btrfs, Thanks for asking. :-)
cp -a --reflink=auto Brave-linux-x64 "$pkgdir"/usr/lib/brave
install -d -m0755 "$pkgdir"/usr/bin install -Dm0755 "$srcdir"/brave "$pkgdir"/usr/bin/brave
ln -s /usr/lib/brave/brave "$pkgdir"/usr/bin/brave install -Dm0644 "$srcdir"/brave.desktop "$pkgdir"/usr/share/applications/brave.desktop
install -dm0755 "$pkgdir"/usr/share/applications install -Dm0644 "$srcdir"/brave.png "$pkgdir"/usr/share/pixmaps/brave.png
cp --reflink=auto "$startdir"/brave.desktop "$pkgdir"/usr/share/applications/brave.desktop install -Dm0664 "$srcdir"/MPL2 "$pkgdir"/usr/share/licenses/brave-git/MPL2
install -dm0755 "$pkgdir"/usr/share/pixmaps mv "$pkgdir"/usr/lib/brave/{LICENSE,LICENSES.chromium.html} "$pkgdir"/usr/share/licenses/brave-git/
cp --reflink=auto "$srcdir"/brave.png "$pkgdir"/usr/share/pixmaps/
install -d -m0755 "$pkgdir"/usr/share/licenses/brave-bin
cp --reflink=auto "$srcdir"/MPL2 "$pkgdir"/usr/share/licenses/brave-bin/MPL2
mv "$pkgdir"/usr/lib/brave/{LICENSE,LICENSES.chromium.html} "$pkgdir"/usr/share/licenses/brave-bin
ln -s /usr/lib/PepperFlash "$pkgdir"/usr/lib/pepperflashplugin-nonfree ln -s /usr/lib/PepperFlash "$pkgdir"/usr/lib/pepperflashplugin-nonfree
} }

3
brave Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/sh
exec /usr/lib/brave/brave --no-sandbox