Hmm,

I know nothing on the library side of things, but as Arch conventions dictate:

1. All package titles should be lowercase, so wiringx-git, perhaps?.
2. You should probably do a provides=(libwiringx.so wiringx) so the soname is searchable and conflicts are better detected 3. According to the [wiki][1], "Do not use makepkg subroutines (e.g. error, msg, msg2, plain, warning) as they might change at any time. To print data, use printf or echo." I'm not sure if such messages are even necessary. AFAIK outputting the current step is already done by makepkg and I'm pretty sure cmake will produce its own output that make outputting "Cmake..." redundant.

Otherwise, this looks like a pretty solid PKGBUILD to me! Make sure the use namcap on the PKGBUILD and the built .pkg(.tar.zst)

[1]: https://wiki.archlinux.org/title/Arch_package_guidelines
--
Cheers,
Aᴀʀᴏɴ

Attachment: OpenPGP_0x4E85967FC7C436BE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to