On Sun, Oct 25, 2015 at 11:33 AM, Tyler Jameson Little <[email protected]
> wrote:

> I am trying to create a PKGBUILD for UnrealEngine. This existed on AUR3 but
> is now unmaintained.
>
> UnrealEngine can be compiled from source, but you need to create an account
> with epic games to get access to the repository.
>
> I was about to just require the user to input a username and password, then
> I realized this doesn't work with 2-factor authentication enabled. The
> proper solution is to use ssh to download the repository, but this doesn't
> seem to be supported in the `source` array. Here's what I tried:
>
> - [email protected]:EpicGames/UnrealEngine#release
> - [email protected]:EpicGames/UnrealEngine.git#release
> - UnrealEngine::[email protected]:EpicGames#release
>
> It appears that `https` is the only supported download option for github
> repositories, but this won't work with 2-factor auth for private
> repositories.
>
> The expected behavior is that it should use my ssh key to download the git
> repository.
>
> Am I missing something? Should I file a bug/feature request for this in
> makepkg?
>

==> ERROR: UnrealEngine was not found in the build directory and is not a
URL.
;)

Use the ssh:// protocol explicitly. This will let makepkg recognize the url.

makepkg only recognizes urls with a protocol:// -- anything else is a local
file.

-- Eli Schwartz

Reply via email to