You are not logged in.
I maintain the matlab package (https://aur.archlinux.org/packages/matlab/). This is basically a proprietary blob package where everything eventually gets dumped into /opt. The software comes with an installer. By default, this installer dumps a huge amount (up to 8 GB) of crud into /tmp/matlab while it is working. The installer takes an option to use an alternative directory. I like using /tmp because I think it is faster (I haven't timed it), but some users are complaining they do not have enough space.
I guess my question is, should the PKGBUILD only make changes to $srcdir and $pkgdir
Offline
Definitely only use srcdir or pkgdir.
Users can chose where these are - they can be under /tmp or somewhere else. If a user has specifically chosen to build somewhere other than /tmp, don't try to override their choice.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline