Changeset View
Changeset View
Standalone View
Standalone View
package.yml
name : brave | name : brave | ||||
version : 0.23.79 | version : 0.55.22 | ||||
release : 12 | release : 13 | ||||
source : | source : | ||||
- git|https://github.com/brave/browser-laptop: v0.23.79dev | - https://github.com/brave/brave-browser/releases/download/v0.55.22/brave-browser_0.55.22_amd64.deb : 714e82407dca233904849fc98fbd35b4ec1bcfed07ffa93dd0c88aebffe22104 | ||||
license : | license : | ||||
- MPL-2.0 | - MPL-2.0 | ||||
- GPL-3.0-or-later # Https Everywhere | - GPL-3.0-or-later # Https Everywhere | ||||
- GPL-2.0-or-later # Privacy Badger | - GPL-2.0-or-later # Privacy Badger | ||||
component : network.web.browser | component : network.web.browser | ||||
summary : A browser with your interests at heart. | summary : A browser with your interests at heart. | ||||
description: | | description: | | ||||
Browse faster by blocking ads and trackers that violate your privacy and cost you time and money. | Browse faster by blocking ads and trackers that violate your privacy and cost you time and money. | ||||
networking : yes | networking : yes | ||||
builddeps : | builddeps : | ||||
- pkgconfig(alsa) | - pkgconfig(alsa) | ||||
- pkgconfig(fontconfig) | |||||
- pkgconfig(gconf-2.0) | - pkgconfig(gconf-2.0) | ||||
- pkgconfig(gtk+-3.0) | - pkgconfig(gtk+-3.0) | ||||
- pkgconfig(krb5) | |||||
- pkgconfig(libsecret-1) | |||||
- pkgconfig(xi) | |||||
- pkgconfig(xkbfile) | |||||
- pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
- nodejs | - pkgconfig(xtst) | ||||
- cups-devel | |||||
rundeps : | rundeps : | ||||
- libgnome-keyring | - libgnome-keyring | ||||
setup : | | |||||
%patch -p1 < $pkgfiles/0001-Don-t-override-the-default-workspace-switching-short.patch | |||||
npm install | |||||
npm run postinstall | |||||
build : | | |||||
CHANNEL=dev npm run build-package | |||||
install : | | install : | | ||||
install -dm00644 $installdir/usr/bin | ar x $sources/brave-browser_${version}_amd64.deb | ||||
install -dm00644 $installdir/usr/share/brave/ | tar xf data.tar.* | ||||
cp -R brave-linux-x64/* $installdir/usr/share/brave/ | mkdir -p %installroot% | ||||
ln -s /usr/share/brave/brave $installdir/usr/bin/brave | cp -r usr %installroot%/ | ||||
install -Dm0644 $pkgfiles/brave.desktop $installdir/usr/share/applications/brave.desktop | cp -r opt %installroot%/ | ||||
JoshStrobl: Nononono. We do not allow stuff to go into `/opt`. Not to mention you should be using… | |||||
Done Inline ActionsShould be using $installdir, as I stated in my comment earlier. JoshStrobl: Should be using $installdir, as I stated in my comment earlier. | |||||
Done Inline ActionsSorry, about that. Should be fixed now. Thanks for the reminder :) alecbcs: Sorry, about that. Should be fixed now. Thanks for the reminder :) | |||||
install -Dm0644 res/dev/app.png $installdir/usr/share/pixmaps/brave.png | install -Dm0644 opt/brave.com/brave/product_logo_128.png $installdir/usr/share/pixmaps/brave-browser.png |
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
Nononono. We do not allow stuff to go into /opt. Not to mention you should be using $installdir not %installroot%