net-www/brave-browser-dev: bump to 0.56.10

This commit is contained in:
Julian Ospald 2018-11-09 01:39:34 +08:00
parent 46664464fd
commit c920cd46d8
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -5,7 +5,7 @@ require freedesktop-desktop
SUMMARY="Next generation Brave browser"
HOMEPAGE="https://brave-browser.readthedocs.io"
DOWNLOADS="https://brave-browser-apt-dev.s3.brave.com/pool/main/b/${PN}/${PN}_0.50.14_amd64.deb"
DOWNLOADS="https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser_${PV}_amd64.deb"
LICENCES="MPL-2.0"
SLOT="0"
@ -60,17 +60,17 @@ src_unpack() {
src_install() {
local f
edo mv usr/share/doc/${PN} usr/share/doc/${PNV}
edo mv usr/share/doc/brave-browser usr/share/doc/${PNV}
insinto /usr/share
doins -r usr/share/*
insinto /opt
doins -r opt/*
for f in "${IMAGE}"/opt/brave.com/brave-dev/{${PN},brave,brave-sandbox} ; do
for f in "${IMAGE}"/opt/brave.com/brave/{brave-browser,brave,brave-sandbox} ; do
edo chmod +x "${f}"
done
dodir /usr/$(exhost --target)/bin
dosym ../../../opt/brave.com/brave-dev/${PN} /usr/$(exhost --target)/bin/${PN}
dosym ../../../opt/brave.com/brave/brave-browser /usr/$(exhost --target)/bin/${PN}
}