This is a bug in makepkg, and patches have been submitted to fix it.
That being said, I advise using local:// instead of file://, consider the following errors
source=(file://test1.7z
local://test2.7z)
==> Retrieving sources...
==> ERROR: Unknown download protocol: file
-> Downloading test1.7z...
/usr/share/makepkg/source/file.sh: line 72: $'\E[1m': command not found
==> ERROR: Failure while downloading file://test1.7z
(This is technically a makepkg bug, it should abort right after "unknown download protocol".)
And creating the file using touch test1.7z
to trick makepkg into thinking it does not need to be downloaded...
==> Retrieving sources...
-> Found test1.7z
==> ERROR: test2.7z was not found in the build directory and is not a URL.
Note also that current versions of makepkg do provide a download agent for file:// to download via curl, so instead you now get:
==> Retrieving sources...
-> Downloading test1.7z...
curl: (3) URL using bad/illegal format or missing URL
==> ERROR: Failure while downloading file://test1.7z
Pinned Comments
TheA4Paper commented on 2025-03-26 06:27 (UTC) (edited on 2025-03-26 07:42 (UTC) by TheA4Paper)
!!!Important!!!
Due to license and website restriction, to install this package, the distribution file must be downloaded manually.
The file can be downloaded here: https://www.modartt.com/download?file=pianoteq_stage_linux_v841.7z
The downloaded file must be place in an appropriate directory depending on your AUR helper here: