debfetcher/packages/brave.debfetcher

18 řádky
487 B
Plaintext

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
}