Package Details: librewolf-firefox-shim 100.0.2-1

Git Clone URL: https://aur.archlinux.org/librewolf-firefox-shim.git (read-only, click to copy)
Package Base: librewolf-firefox-shim
Description: A symlink for using librewolf as a firefox
Upstream URL: https://librewolf-community.gitlab.io/
Keywords: librewolf
Licenses: MIT
Conflicts: firefox
Provides: firefox
Submitter: freed00m
Maintainer: freed00m
Last Packager: freed00m
Votes: 2
Popularity: 0.099629
First Submitted: 2021-04-06 20:27 (UTC)
Last Updated: 2022-06-06 19:08 (UTC)

Dependencies (1)

Required by (136)

Sources (0)

Latest Comments

freed00m commented on 2022-06-22 20:02 (UTC) (edited on 2022-06-22 20:15 (UTC) by freed00m)

@Nonie689 and you have to consider not all people use AUR to isntall packages, so how the hook would decide?

Example I have my own repository which prebuilds this package periodically, having the hook to download pkgbuild and rebuild it would be nonsensical.

I know for your use case it make sense but what about the others? How would you solve it?

For now I am rejecting proposal for hooking firefox for version, your AUR helper should be responsible for calling pkgver() to see if update/rebuild needs to happen.

freed00m commented on 2022-06-22 06:30 (UTC)

@Nonie689 I think ALPM hook for rebuild trigger might be alright but touching $HOME is absolutely not.

Even though technically doable, the concept of update touching user's files, not.

Why would you want .mozilla symlinked anyway, what purpose? if you noticed, it's .mozilla/firefox to .librewolf, so where should .mozilla point to?

Nonie689 commented on 2022-06-21 21:53 (UTC)

@freed00m

could you create a symlink to the .mozilla symlink? I think it needs to be in the install hook not in the PKGBUILD

cause you need to show in the

/etc/passwd with a gid or userid equal or greater than 1000

or with

userdbctl | grep regular | grep -wve "[↓|↑]" | awk '{print $6}'

hmm what do you think??

Nonie689 commented on 2022-06-21 21:33 (UTC)

@dreieck @freed00m

I think it also needs a pacman hook or install hook.

If the firefox version are get an update.

freed00m commented on 2021-07-29 13:54 (UTC)

@dreieck - what package should I be querying? pacman -Qi firefox does return this package thus not bumping. So I will query librewolf as the version should be same.

But this will only set the version if one install the packgage, right? Should I add some pacman hooks for rebuilding this shim if librewolf installs new version?

dreieck commented on 2021-07-29 13:04 (UTC)

Can you automatically update the $pkgver to the installed librewolf version, please?

You can see as an example the pkgver()-function in firefox-developer-edition-firefox-symlink-latest.

Thanks for maintaining!