[aur-general] know what dependencies in PKGBUILD

Eli Schwartz eschwartz at archlinux.org
Thu Jul 23 20:23:52 UTC 2020


On 7/23/20 4:07 PM, alad via aur-general wrote:
> 
> On 23/07/2020 15:45, Eli Schwartz via aur-general wrote:
>> On 7/23/20 9:17 AM, alad via aur-general wrote:
>>> Am 23/07/2020 um 15:10 schrieb Budi via aur-general:
>>>> h\How to know what dependencies only need to put  (surely not all)
>>> I proceed as follows:
>>>
>>> 1. ignore anything in base-devel
>> base-devel is for makedepends only, base is for depends.
> So? base-devel contains programs that can be used during runtime, like
> gawk.
Or 'which', or 'sudo'.

If they are used during runtime, you can't exactly leave them out of
depends=() on the rationale that people who installed base-devel to
build packages, won't have errors running it.

Unless I've misunderstood what you're suggesting here?

(gawk is covered by the base metapackage, though. So that is okay to
omit, but not because of -devel.)

-- 
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/20200723/85ba48a8/attachment.sig>


More information about the aur-general mailing list