Package Details: unreal-engine 5.4.0-0

Git Clone URL: https://aur.archlinux.org/unreal-engine.git (read-only, click to copy)
Package Base: unreal-engine
Description: A 3D game engine by Epic Games which can be used non-commercially for free.
Upstream URL: https://www.unrealengine.com/
Keywords: 3D engine game ue5 Unreal
Licenses: GPL3, custom:UnrealEngine
Submitter: acerix
Maintainer: Shatur (Neko-san)
Last Packager: Neko-san
Votes: 73
Popularity: 0.087362
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-04-24 02:23 (UTC)

Required by (1)

Sources (5)

Pinned Comments

Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)

@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:

sudo groupadd unrealengine-users
sudo usermod -aG unrealengine-users (your-username)
sudo chown -R root:unrealengine-users /opt/unreal-engine
sudo chmod -R 775 /opt/unreal-engine

Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR

This is a user system problem; I already did what I could without needing users to do the above by giving the 777 permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).

zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)

Will update to 5.0 when it is released.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 79 Next › Last »

OdinVex commented on 2023-06-23 21:38 (UTC) (edited on 2023-06-23 21:40 (UTC) by OdinVex)

@k1gen See, it was an easy fix, just needed some attention to detail. As for the space issue...you should be able to move the final zst file somewhere else and delete the entire folder, then double-click the zst to install. First, I'd try double-clicking the zst. If it attempts to install, it should be fine alone. But I haven't done that in a looong time. You should just upgrade the HDD and do a dd-clone with a GPT backup and restore account for size of HDD. Random search shows: sudo pacman -U --noconfirm your-package.pkg.tar.zst

seqfault commented on 2023-06-23 21:33 (UTC) (edited on 2023-06-23 21:38 (UTC) by seqfault)

@OdinVex: thanks for helping, makepkg -s worked with this PKGBUILD, but now I have 75 gigs left on my drive, and I need 100 for makepkg -i :) what can I delete in ~/.cache/yay/unreal-engine? src is 21G, .pkg.tar.zst is 32G, and pkg is 94G

OdinVex commented on 2023-06-23 20:30 (UTC) (edited on 2023-06-23 20:56 (UTC) by OdinVex)

@k1gen I'd comment that line out for now. Since I use a manual compile I don't use the AUR anymore, I needed plugins that can't be automatically included and compiled in the AUR version easily, so I don't remember that file's location if it exists even.

Edit: It may have already been “install” moved to pkg/unreal-engine/usr/share/licenses/UnrealEngine/, so ignore it for now (remember from first time you ran it?). The same goes for any file that might be “install” moved in package().

seqfault commented on 2023-06-23 20:25 (UTC)

@OdinVex: got it. next weird thing: install: cannot stat 'LICENSE.md': No such file or directory while doing package()

OdinVex commented on 2023-06-23 20:21 (UTC) (edited on 2023-06-23 20:24 (UTC) by OdinVex)

@k1gen I copy-pasted your cd line by accident, was multitasking. Don't comment those cd lines. You should've caught that when I told you that prepare needs to end up in the pkgname dir. Build needs to as well. Remove the # before those cd lines, see previous post. Edit: Hopefully the git didn't #$^* it.

seqfault commented on 2023-06-23 20:19 (UTC)

@OdinVex: sorry if it's me being dumb again, but... I have the same error:

$ makepkg -s --skipchecksums
==> Making package: unreal-engine 5.2.1-0 (Fri Jun 23 23:17:59 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found unreal-engine-5.sh
  -> Found com.unrealengine.UE4Editor.desktop
  -> Found use_system_clang.patch
  -> Found unreal-engine-5-pacman-cache.hook
  -> Found ue5editor.svg
==> WARNING: Skipping verification of source file checksums.
==> Extracting sources...
==> Starting prepare()...
==> ERROR: A failure occurred in prepare().
    Aborting...

PKGBUILD: http://ix.io/4yVM

OdinVex commented on 2023-06-23 20:09 (UTC) (edited on 2023-06-23 20:21 (UTC) by OdinVex)

@k1gen Upload your PKGBUILD, sounds like you forgot a line then because nothing should be gitting. BUT the one ICON is fetched from GitHub.

Overly obvious clarification:

build() {
  cd "${pkgname}" || return

  #temporarily disable building
  return
...
prepare() {
  cd "${pkgname}" || return

  #temporarily disable building
  return
...

seqfault commented on 2023-06-23 20:07 (UTC) (edited on 2023-06-23 20:08 (UTC) by seqfault)

@OdinVex: understood, did that. makepkg -s --skipchecksums just started git cloning stuff in my 257Gb src dir :| here's my PKGBUILD: http://ix.io/4yVH

OdinVex commented on 2023-06-23 20:04 (UTC)

@k1gen Don't forget that prepare() needs to end up in the $pkgname dir, so it should be exactly like build()'s intro with cd "${pkgname}" || return as well.

seqfault commented on 2023-06-23 20:01 (UTC)

thanks, didn't notice that for some reason. with return just after prepare() I have this error:

==> ERROR: A failure occurred in prepare().
    Aborting...