omarchy-install-browser still reaches for yay to install Chrome, Edge, Brave, Brave Origin and Zen. These were the only packages anywhere in Omarchy's installers and menus that aren't available from core, extra, multilib or OPR. Serving them from OPR means installing any Omarchy browser no longer depends on the AUR being up. Imported once from the AUR with bin/add-package, on the fast ring so browser security releases reach stable promptly, each with a direct vendor watch: - google-chrome: Google's stable apt index - microsoft-edge-stable-bin: Microsoft's stable apt index - brave-bin, brave-origin-bin: Brave's stable apt index. Brave's GitHub releases can't be used because nightlies aren't marked as prereleases there. - zen-browser-bin: GitHub releases (the twilight tag doesn't match) Package names match what Omarchy's scripts already check for, so the existing omarchy-pkg-aur-add calls resolve to the repo package without any change on the Omarchy side. Validation: upstream-watch check reports all five as current. A sync of downgraded copies of zen-browser-bin and brave-origin-bin reproduces the checked-in pkgver and both architectures' checksums. All five build with makepkg on x86_64, and the launchers, desktop IDs and /opt paths match what omarchy-default-browser and omarchy-theme-set-browser use. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
47 lines
1.9 KiB
Bash
47 lines
1.9 KiB
Bash
# Maintainer: brave <aur-release@brave.com>
|
|
|
|
pkgname=brave-origin-bin
|
|
pkgver=1.96.59
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc='The minimalist browser from the makers of Brave (binary release).'
|
|
arch=(x86_64 aarch64)
|
|
url=https://brave.com/origin/download
|
|
license=('MPL2')
|
|
depends=(alsa-lib gtk3 libxss nss ttf-font)
|
|
optdepends=('cups: Printer support'
|
|
'libgnome-keyring: Enable GNOME keyring support'
|
|
'libnotify: Native notification support')
|
|
provides=("$pkgname" "${pkgname%-bin}")
|
|
conflicts=("${pkgname%-bin}")
|
|
options=(!strip)
|
|
source=($pkgname.sh "${pkgname%-bin}.desktop")
|
|
source_x86_64=("${pkgname}-${pkgver}-x86_64.zip::https://github.com/brave/brave-browser/releases/download/v${pkgver}/brave-origin-${pkgver}-linux-amd64.zip")
|
|
source_aarch64=("${pkgname}-${pkgver}-aarch64.zip::https://github.com/brave/brave-browser/releases/download/v${pkgver}/brave-origin-${pkgver}-linux-arm64.zip")
|
|
|
|
noextract=("${pkgname}-${pkgver}-x86_64.zip" "${pkgname}-${pkgver}-aarch64.zip")
|
|
sha256sums=('5ff70ee473f35c2fc7642c422c8abe20aaac0d7cc30a3292744eb9fbeafba1bd'
|
|
'c70bc71c696b6764247070375ae111bd76c8bad9c7bda4d46e03975b95571a8a')
|
|
sha256sums_x86_64=('ad71abea5326d15bbe813a1e9592bcf2383f2ecc083a432313ca80b4436d3797')
|
|
sha256sums_aarch64=('68d1fb922e0ad25099081a32a7f0611f2657345726590b697eaf6bbb820848ee')
|
|
|
|
prepare() {
|
|
mkdir -p brave
|
|
bsdtar -xf "$pkgname-$pkgver-$CARCH.zip" -C brave
|
|
chmod +x brave/brave
|
|
}
|
|
|
|
package() {
|
|
install -dm0755 "$pkgdir/opt"
|
|
cp -a brave "$pkgdir/opt/$pkgname"
|
|
chmod 4755 "$pkgdir/opt/$pkgname/chrome-sandbox"
|
|
install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/${pkgname%-bin}"
|
|
install -Dm0644 -t "$pkgdir/usr/share/applications/" "${pkgname%-bin}.desktop"
|
|
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" brave/LICENSE
|
|
pushd "$pkgdir/usr/"
|
|
for size in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
|
|
install -Dm0644 "$pkgdir/opt/$pkgname/product_logo_${size/x*/}.png" \
|
|
"share/icons/hicolor/$size/apps/brave-origin.png"
|
|
done
|
|
}
|