[aur-general] know what dependencies in PKGBUILD

alad alad at archlinux.org
Thu Jul 23 13:17:35 UTC 2020


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

2. include libraries listed in ldd, if the package includes a compiled 
executable

3. include external commands if they are required (and not already in 
base-devel)

The second point is not mandated (you can depend on a package fulfilling 
the needed library depends, transitively), though helpful when listing 
rebuilds. Otherwise, see the packaging guidelines on the wiki.

(inb4 10 pages of discussion after a 1-sentence question)


More information about the aur-general mailing list