mirror of
https://aur.archlinux.org/brave-bin.git
synced 2025-09-21 22:19:29 +02:00
Add pepper-flash support to PKGBUILD
This commit is contained in:
3
.SRCINFO
3
.SRCINFO
@@ -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.12.15
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://www.brave.com/
|
url = https://www.brave.com/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:several
|
license = custom:several
|
||||||
@@ -14,6 +14,7 @@ pkgbase = brave-bin
|
|||||||
depends = libgnome-keyring
|
depends = libgnome-keyring
|
||||||
depends = ttf-font
|
depends = ttf-font
|
||||||
optdepends = cups: Printer support
|
optdepends = cups: Printer support
|
||||||
|
optdepends = pepper-flash: Adobe Flash support
|
||||||
provides = brave
|
provides = brave
|
||||||
provides = brave-browser
|
provides = brave-browser
|
||||||
conflicts = brave
|
conflicts = brave
|
||||||
|
7
PKGBUILD
7
PKGBUILD
@@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
pkgname=brave-bin
|
pkgname=brave-bin
|
||||||
pkgver=0.12.15
|
pkgver=0.12.15
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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/"
|
||||||
license=('custom:several')
|
license=('custom:several')
|
||||||
depends=('gtk2' 'nss' 'alsa-lib' 'gconf' 'libxtst' 'libxss' 'libgnome-keyring' 'ttf-font')
|
depends=('gtk2' 'nss' 'alsa-lib' 'gconf' 'libxtst' 'libxss' 'libgnome-keyring' 'ttf-font')
|
||||||
optdepends=('cups: Printer support')
|
optdepends=('cups: Printer support'
|
||||||
|
'pepper-flash: Adobe Flash support')
|
||||||
provides=('brave' 'brave-browser')
|
provides=('brave' 'brave-browser')
|
||||||
conflicts=('brave')
|
conflicts=('brave')
|
||||||
replaces=('brave-browser-bin')
|
replaces=('brave-browser-bin')
|
||||||
@@ -45,4 +46,6 @@ package() {
|
|||||||
cp --reflink=auto "$srcdir"/MPL2 "$pkgdir"/usr/share/licenses/brave-bin/MPL2
|
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
|
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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user