[aur-general] What is pkgrel and why/how should I use it?

Yash Karandikar nerdstep710 at gmail.com
Wed Mar 4 00:15:13 UTC 2020


On 3/3/20 5:44 PM, Eli Schwartz via aur-general wrote:
> On 3/3/20 6:28 PM, karx via aur-general wrote:
>> On Tue, Mar 3, 2020, 5:23 PM Doug Newgard via aur-general <
>> aur-general at archlinux.org> wrote:
>>
>>> On Tue, 3 Mar 2020 13:29:30 -0600
>>> karx via aur-general <aur-general at archlinux.org> wrote:
>>>
>>>> Hi Georg, thank you for your reply.
>>>> If I am understanding correctly, pkgrel is for changes to the
>>>> PKGBUILD, and pkgver is for changes to the actual sources. Is this
>>>> correct?
>>>>
>>>> Yash
>>>>
>>>> On 3/3/20, Georg <g.schlisio at dukun.de> wrote:
>>>>> Hi Yash,
>>>>> and welcome to archlinux.
>>>>> pkgrel is the internal revision of the package, e.g. the packaging
>>>>> version. This allows improvements on the package without bumping the
>>>>> software release version and is often used for binary rebuild to adapt
>>>>> to changed dependencies etc.
>>>>> Georg
>>>>>
>>> Kind of. pkgrel is for changes to the built package, there's plenty of
>>> changes
>>> you can make to the PKGBUILD that don't change the actual package; those
>>> don't
>>> require a pkgrel change.
>>>
>> Like what?
> Whitespace or quoting changes. Switching from "mkdir -p foo && cp foo
> bar/baz" to "install -Dm644 foo bar/baz". Changing the CMake generator
> between GNU Makefiles and Ninja.
>
Got it, thanks!


More information about the aur-general mailing list