Yay: how to modify PKGBUILD before proceding?

I see outdated AUR package which only needs download URL updated in PKGBUILD. How can I install this package with my mod ?

yay -G <package_name>
cd ~/.cache/yay/<package_name>
edit the PKGBUILD
updpkgsums
makepkg -si

2 Likes
...
...
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: openssl-1.0
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> openssl-1.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

One of dependencies are AUR package as well and makepkg -si fails because of it.

The dependency seems to be upgraded to openssl-1.1, probably you can change it too in the PKGBUILD.

Also it is advisable to inform the AUR package maintainer about these issues.

2 Likes

I will do that.

Package in talk: https://aur.archlinux.org/packages/dokobit-plugin

Looks like the maintainer hasn’t been active in 3 years so maybe he/she has stopped…