Yay just downloads ungoogled-chromium-binary, doesn't install it

I am trying to install ungoogled-chromium. Building from source takes eons. There is a binary package on aur ungoogled-chromium-binary.
Installing it with pamac results in just downloading and then nothing. So I figured I might need an aur helper like yay to pick this up.

When installing this package with yay, it seems all it does is creating these files in ~/.cache/yay and then nothing. So having an aur helper doesn’t make a difference in my case. These are cached yay files:

.git
ungoogled-chromium-binary-1:102.0.5005.61-3-x86_64.pkg.tar.zst
ungoogled-chromium-102.0.5005.61-3-x86_64.pkg.tar.zst
PKGBUILD
.SRCINFO

I am a bit lost here, how should I proceed? Should yay just have picked this up on itself?
There are 2 tarballs there, is that the reason yay or pamac has no clue on how to proceed?

Contents of PKGBUILD

# Maintainer: KuoHuanHuan <hi@nekohuan.cyou>

pkgname=ungoogled-chromium-binary
pkgver=102.0.5005.61
pkgrel=3
epoch=1
pkgdesc='A lightweight approach to removing Google web service dependency (binary release)'
arch=(x86_64)
url=https://github.com/Eloston/ungoogled-chromium
license=(BSD)
depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt' 'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva' 'desktop-file-utils' 'hicolor-icon-theme'
				)
optdepends=('pipewire: WebRTC desktop sharing under Wayland'
            'kdialog: support for native dialogs in Plasma'
            'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
            'kwallet: support for storing passwords in KWallet on Plasma'
						)
provides=('chromium')
conflicts=("ungoogled-chromium" "chromium")
options=()
source=(
				"https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/$pkgver-$pkgrel/ungoogled-chromium-$pkgver-$pkgrel-x86_64.pkg.tar.zst"
				)
noextract=("ungoogled-chromium-$pkgver-$pkgrel-x86_64.pkg.tar.zst")
sha256sums=('565924751aec3d6237419abe5d632dd469bd7680c456c91baaa785353bf40244')

prepare() {
	msg2 "Package downloaded!"
}

https://aur.archlinux.org/packages/ungoogled-chromium-binary

Thanks. That confuses me though. I have yay installed as this seems to be the preferred aur helper. So is this a shortcoming of yay then?

install downloaded package ungoogled-chromium-$pkgver-$pkgrel-x86_64.pkg.tar.zst like others:

PKGBUILD from ungoogled-chromium JUST download tarbals zst and does nothing more with them.

It built fine here manually building the package from the snapshot. Current version is:

ungoogled-chromium-102.0.5005.115

So you mean I have to manually install both tarballs? As yay has downloaded two tarballs, which is a bit of mystery to me becasue the original PKGBUILD references one download.

EDIT: It turns out that ungoogled-chromium and ungoogled-chromium-binary are in conflict, so the command you posted doesn’t work.

yep.

sudo pacman -U ungoogled-chromium-102.0.5005.61-3-x86_64.pkg.tar.zst

Thanks, this works. So do you have any clue of the purpose of ungoogled-chromium-binary-1:102.0.5005.61-3-x86_64 that also got downloaded but should be ignored?

This is all valid:

  1. yay build package ungoogled-chromium-binary-1:102.0.5005.61-3-x86_64.pkg.tar.zst
  2. PKGBUILD of ungoogled-chromium-binary intend download only package. Not build them from source. See code for details.
  3. Main app is ungoogled-chromium-102.0.5005.61-3-x86_64.pkg.tar.zst with binaries DOWNLOADED ONLY during build ungoogled-chromium-binary.

Thanks! Would it have been possible for ungoogled-chromium-binary to not only download ungoogled-chromium-binary but also install it in one go?
I try to better understand the philosophy behind this AUR setup

This nothing more like download wrapper - not installler.

Ah ok, the behaviour is different from what I am used to. I was wondering why the install step was not included by default.
Thanks again!

OK

Simply watch on

Download latest and install manually if needed. (file with x86_64.pkg.tar.zst )

(there is latest package)

Ah yes, that makes sense!

@typecheck That would be the best as ungoogled-chromium-binary will be removed from the AUR soon.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.