This package is severely messed up: witness its use of $pkgdir for symlinking source files:
The so-called "# Trying to make the user's life easier ;o)" step completely misunderstands every last aspect of how makepkg works, and to add insult to injury, it simply will not work under any conditions as $pkgdir does not exist at the time of use. You are testing to find out whether the file exists in / and if it doesn't but does exist in ~/Downloads then you execute a malformed ln command with only one argument.
Also the newly added install file is so outrageous I wanted to delete the package on the spot until I realized it is not actually being used.
@Ashark,
But that is no rationale for removing source=() altogether. AUR users are expected to know how to acquire source files for proprietary paywalled software on their own, doing it in prepare() is not right.
Pinned Comments
satriani commented on 2021-05-15 14:15 (UTC) (edited on 2021-05-15 14:16 (UTC) by satriani)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/
And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
Thanks.