You are not logged in.

#1 2015-12-12 00:01:04

qyprg
Member
Registered: 2015-09-24
Posts: 13

[SOLVED] Firefox ESR PKGBUILD Evaluation Request

I've modified the PKGBUILD of this Firefox ESR AUR package and I want to install the latest ESR release.

This is my modified PKGBUILD.

I've kept the other files (firefox-esr-safe.desktop, firefox-esr.desktop, firefox-esr.install) as they were verbatim and want to know whether everything's fine.
If I've violated some etiquette by posting this thread, feel free to remove it. neutral

Last edited by qyprg (2015-12-15 13:20:07)

Offline

#2 2015-12-12 14:05:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,394

Re: [SOLVED] Firefox ESR PKGBUILD Evaluation Request

provides=('firefox=38.4.0')
replaces=('firefox>=38.4.0)

This suggests you want to prevent users from having both firefox ESR and latest version installed.
With only those lines it is possible to have an OLDER firefox version installed.
You also need a conflicts= line,so pacman knows it has to remove firefox when firefox ESR gets installed.

I'd do it like this :

provides=('firefox=38.4.0')
replaces=('firefox')
conflicts=('firefox')

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB