[aur-general] Bump pkgrel just to force recompilation

Xyne xyne at archlinux.ca
Thu Aug 10 18:35:23 UTC 2017

Eli Schwartz wrote:

>pkgrel is supposed to monotonically increase on each rebuild of the

When releasing a binary package, the pkgrel needs to be bumped if the resulting
package's signature and/or checksums change (without changing the pkgver).

When releasing a PKGBUILD the requirement is not the same. The pkgrel should be
bumped when rebuilding the old and new packages side-by-side would result in
different packages with the same version due to e.g. metadata changes (desc,
depends, license, url, etc.) or different build flags or installed files.
Values that do not affect the final package can be changed without a pkgrel
bump, such as checksums or download sources.

There is no rule on the AUR. Bumping the pkgrel is a workaround to help package
manager that lack awareness of build dependencies. It doesn't hurt but it's not
required. It is always the user's responsibility to manage rebuilds on the AUR.

Incidentally, there are tools to assist the user (e.g. pkg-list_unrebuilt script [1]).


[1] https://xyne.archlinux.ca/projects/pkg_scripts/#help-message-pkg-list_unrebuilt

More information about the aur-general mailing list