blob: 48d5adb42beac2f5e20de6649fca64fba8540a71 (
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
49
50
|
# Contributor: Caleb Maclennan <caleb@alerque.com>
# Contributor: Jacob Mischka <jacob@mischka.me>
# Maintainer: Manuel Mazzuola <origin.of@gmail.com>
# Maintainer: whezzel <whezzel at gmail dot com>
pkgname=brave-beta-bin
pkgver=0.69.107
pkgrel=1
pkgdesc='Web browser that blocks ads and trackers by default (beta binary release).'
arch=('x86_64')
url='https://brave.com/download-beta'
license=('custom')
depends=('gtk3' 'gconf' 'nss' 'alsa-lib' 'libxss' 'libgnome-keyring' 'ttf-font')
optdepends=('cups: Printer support'
'pepper-flash: Adobe Flash support')
provides=("${pkgname}" 'brave-beta-browser')
conflicts=("${pkgname}" 'brave-bin' 'brave-dev-bin')
source=("$pkgname-$pkgver.zip::https://github.com/brave/brave-browser/releases/download/v${pkgver}/brave-v${pkgver}-linux-x64.zip"
"LICENSE::https://raw.githubusercontent.com/brave/brave-browser/master/LICENSE"
"$pkgname.sh"
"$pkgname.desktop"
"braveAbout.png")
options=(!strip)
sha512sums=('74293d7a5c4bf80c4b9b33e211663e85737e36cf0efa324b048b3a54c7eebf3d1aecc7a01e19d0843ff6168c6cc403aa5cec46482a127bf45af47bd17e184242'
'b8823586fead21247c8208bd842fb5cd32d4cb3ca2a02339ce2baf2c9cb938dfcb8eb7b24c95225ae625cd0ee59fbbd8293393f3ed1a4b45d13ba3f9f62a791f'
'abbe4116c134a045e896a4c16b39488c076fe11462486f8d32255069eab1172a64cb5d1ecb38ec9a3c2f7eed2e62f5a5cb4a136d7026fc85e2768a755f80ba46'
'44809972e3980856494659b15d033b02c63dd1743293dc079d90d022904160532bbf82e70686dea20a46431981bf147cc5392ecc483c61378908b4a92a3d7515'
'd7bef52e336bd908d24bf3a084a1fc480831d27a3c80af4c31872465b6a0ce39bdf298e620ae9865526c974465807559cc75610b835e60b4358f65a8a8ff159e')
noextract=("$pkgname-$pkgver.zip")
prepare() {
mkdir -p brave
cat $pkgname-$pkgver.zip | bsdtar -xf- -C brave
chmod +x brave/brave
}
_bsdtardir="brave"
package() {
install -d -m0755 "$pkgdir/usr/lib"
cp -a --reflink=auto $_bsdtardir "$pkgdir/usr/lib/$pkgname"
install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/brave-beta"
install -Dm0644 -t "$pkgdir/usr/share/applications" "$pkgname.desktop"
install -Dm0644 "braveAbout.png" "$pkgdir/usr/share/pixmaps/brave-beta.png"
install -Dm0664 -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
mv "$pkgdir/usr/lib/$pkgname/"{LICENSE,LICENSES.chromium.html} "$pkgdir/usr/share/licenses/$pkgname"
ln -s /usr/lib/PepperFlash "$pkgdir/usr/lib/pepperflashplugin-nonfree"
}
|