https://aur.archlinux.org/packages/dxvk-mingw-proton-ge-async-git/

I’m by no means a PKGBUILD wizard, and don’t know how to do a certain command in the package() section. Proton installs those dxvk dll’s in the mentioned directories in the PKGBUILD. I tried to use the “rm” command to delete the dlls before replacing them with the symlinks, but I get build errors saying “permission denied”. How would I go about removing those dll files in those directories automatically in the package() section so the symlinks are installed in there place?
prefix your path by the ${pkgdir} variable name like
rm -rf ${pkgdir}/usr/share/steam/compatibilitytools.d/proton-ge-custom*/dist/lib64/wine/dxvk/dxg*"
not tested
So it’s more in depth than that. The dlls that need deleted are from another package, so they are already in the “/usr/share/steam/“ directories before install, which doesn’t have permissions understandably. So I need to find a way to delete those dlls installed from the “proton-ge-custom-bin” (https://aur.archlinux.org/packages/proton-ge-custom-bin) package so that my “dxvk-mingw-proton-ge-async-git” dlls installs in there place. I could use the --overwrite “*” option, but that’s too hacky.
Awesome, I used the “pre_remove” option and it removed the other files before installing the new ones. No more conflicting files. Thank you so much!

Powered by Obarun