Where to find PKGBUILD-file for installed AUR-Package

Referring to this post I’m trying to edit the PKGBUILD for an installed package.
I added a comment # …; this works.
But where is that PKGBUILD-file stored on my system

If it’s from the AUR then either you downloaded it and it’s wherever you put it. Or you used an AUR helper and it may be cached where that helper puts it’s files, otherwise you’ll find it in the AUR.

https://aur.archlinux.org/

If you used yay then it’ll be in ~/.cache/yay

Refer to your AUR helper docs. Each helper stores it differently.

1 Like

Hmm, I have it in PAMAC, as described here

It should be in your /var/tmp/pamac-build-{user} folder. For example, I rebuilt LACT today & my /var/tmp/pamac-build-scotty/lact/ folder has the following entries, including the PKGBUILD file:

ls -a -w 1 /var/tmp/pamac-build-scotty/lact/                                                                                     ✔ 
.
..
.git
LACT
lact.desktop
lactd.service
lact.install
lact-libadwaita-0.5.4-1-x86_64.pkg.tar
PKGBUILD
.SRCINFO
1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.