debfetcher/packages/brave.debfetcher

18 lines
487 B
Plaintext
Raw Normal View History

2023-01-08 14:00:24 +01:00
APTURL="https://brave-browser-apt-release.s3.brave.com"
DISTRO="stable"
REPO="main"
PUBKEY="${PUBKEY_PATH}/brave-browser-archive-keyring.gpg"
PACKAGE="brave-browser"
TS=$(date +%s)
THIS_BASEDIR="/opt/brave.com"
install()
{
cp -a --parents -- opt/brave.com "${DEBFETCHER_INSTALL_DESTDIR}"
cp --parents -- usr/share/applications/brave-browser.desktop "${DEBFETCHER_INSTALL_DESTDIR}"
chmod o=r "${DEBFETCHER_INSTALL_DESTDIR}"/usr/share/applications/brave-browser.desktop
}