You are not supposed to run it on PKGBUILD, but on the resulted package:
$ namcap -r unusedsodepends chromedriver-129.0.6668.70-1-x86_64.pkg.tar.zst
chromedriver W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/bin/chromedriver')
chromedriver W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/bin/chromedriver')
chromedriver W: Dependency included, but may not be needed ('alsa-lib')
chromedriver W: Dependency included, but may not be needed ('gtk3')
chromedriver W: Dependency included, but may not be needed ('libcups')
chromedriver W: Dependency included, but may not be needed ('libxss')
chromedriver W: Dependency included, but may not be needed ('libxtst')
chromedriver W: Dependency included, but may not be needed ('nss')
chromedriver W: Dependency included, but may not be needed ('xdg-utils')
Pinned Comments
Raymo111 commented on 2023-07-26 21:39 (UTC)
Chromedriver updated the upstream endpoints, which my script didn't detect, so this package was out of date for a week. My script (source at https://github.com/Raymo111/dotfiles/blob/main/scripts/update-chromedriver.sh) now uses the https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json endpoint provided by Chromedriver.
Raymo111 commented on 2022-10-26 17:46 (UTC)
This package is updated automatically (checked every 2 hours that my computer is on) based on the latest versions from https://chromedriver.chromium.org/. Please do not flag as out-of-date for at least 24 hours from when you see the version update on that website. Thank you.