blob: 70a7384639186ea2f710d59a74cf3e6504641db0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Please see AUR package page for current maintainer(s) and contact information.
pkgname=brave-bin
pkgver=0.11.5
pkgrel=2
pkgdesc="A web browser that stops ads and trackers by default. Binary release."
arch=('x86_64') # Upstream supports x86_64 only
url="https://www.brave.com/"
license=('custom:several')
depends=('gtk2' 'nss' 'alsa-lib' 'libnotify' 'libgnome-keyring' 'libxtst' 'desktop-file-utils' 'ttf-font')
optdepends=('cups: Printer support')
provides=('brave' 'brave-browser')
conflicts=('brave')
replaces=('brave-browser-bin')
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"
"MPL2::https://raw.githubusercontent.com/brave/browser-laptop/master/LICENSE.txt"
"brave.desktop")
options=(!strip)
sha384sums=('0eec48afbb85ec25cf890e390cbed29866a1bfe22acdf86e84d4d5fc9d0734976074a4836216cdda918f4d6ed45fac51'
'dd60b1f5ee6817784db42d9595e318b02d60a9eb4375546eced89de8e5eaa4c778f9110869c4d8e795e7f69d9c410568'
'b27caa103555393992e6e1de1c2663f3ecf8339054e1aee8961406c8cbc9d677ba78b4bab6efe7210143818f9207d16b'
'f950675fb4a3f9e48374f8a2667e7a45889206a3062c8182e474143607fc26bd17e852a1ef494607dbd3ff4de325e05f')
package() {
install -d -m0755 "$pkgdir"/usr/lib
cp -a --reflink=auto "$srcdir"/Brave-linux-x64 "$pkgdir"/usr/lib/brave
install -d -m0755 "$pkgdir"/usr/bin
ln -s /usr/lib/brave/brave "$pkgdir"/usr/bin/brave
install -dm0755 "$pkgdir"/usr/share/applications
cp --reflink=auto "$startdir"/brave.desktop "$pkgdir"/usr/share/applications/brave.desktop
install -dm0755 "$pkgdir"/usr/share/pixmaps
cp --reflink=auto "$srcdir"/brave.png "$pkgdir"/usr/share/pixmaps/
install -d -m0755 "$pkgdir"/usr/share/licenses/brave
cp --reflink=auto "$srcdir"/MPL2 "$pkgdir"/usr/share/licenses/brave/MPL2
mv "$pkgdir"/usr/lib/brave/{LICENSE,LICENSES.chromium.html} "$pkgdir"/usr/share/licenses/brave
}
|