list dependencies of pkgbuild with shell script
1
vote
1
answer
681
views
How can I list dependencies of a
PKGBUILD
file with shell script?
For example, in a [google-chrome
's PKGBUILD
](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=google-chrome) , I want the script to extract all dependencies (including makedependencies
, dependencies
and optdependencies
) like this:
alsa-lib
gtk3
libcups
libxss
libxtst
nss
kdialog
...
I think this can be achieved with regex, but I don't know how...
Asked by Du Brisingr Arget
(13 rep)
Oct 24, 2018, 04:02 AM
Last activity: Oct 24, 2018, 06:51 PM
Last activity: Oct 24, 2018, 06:51 PM