[aur-general] What is pkgrel and why/how should I use it?
Eli Schwartz
eschwartz at archlinux.org
Tue Mar 3 23:44:27 UTC 2020
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.
--
Eli Schwartz
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20200303/64381ce2/attachment.sig>
More information about the aur-general
mailing list