Extended Brain Storage

Arch Linux: Manually Downloaded Sources with Yaourt

Posted on August 15, 2017

This is a brief hint of how to install an AUR package that requires to manually download its sources...

Problem

As an example, let’s assume the DaVinci Resolve package. After downloading the sources from blackmagicdesign.com into ~/Downloads directory, naturally, the yaourt installer cannot find it:

==> Building and installing package
==> Making package: davinci-resolve 12.5.6-3
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: DaVinci_Resolve_12.5.6_Linux.zip was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build davinci-resolve.
==> Restart building davinci-resolve ? [y/N]

Solution

The solution is simple. Since in the PKGBUILD file, the change of the path to the downloaded file (either absolute or relative) will not work anyway, the file needs to be copied into a directory, where it can be found be the installer, i.e. into the tmp-build directory, which is located in:

/tmp/yaourt-tmp-USERNAME/aur-davinci-resolve/

And that’s it!

Tags: #Arch Linux #yaourt #PKGBUILD #AUR

⏴ Previous Post Next Post ⏵