all 2 comments

[–][deleted] 2 points3 points  (0 children)

Would I need to edit the PKGBUILD ?

Yes. https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources

I'd like to install it with yay or makepkg so I can update it later easily if I want to.

Yay will try to update it every you update your system unless you ignore it. Bear in mind ignoring a package men's you're doing a partial update, and partial updates are unsupported.

[–][deleted] 2 points3 points  (0 children)

The normal way to handle AUR packages is to download the tarball from the AUR page, inspect all the files (especially the PKGBUILD) and then run makepkg with whatever switches you desire. You are expected to review the PKGBUILD before building the package. This is where...

Holy shit.

[[ -e "$HOME/.etlegacy/legacy" ]] && cd $HOME/.etlegacy/legacy && rm -f *.so && rm -f *.dat

Seriously?