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 »

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...

OdinVex commented on 2023-06-23 19:55 (UTC)

@k1gen You forgot to add a return for prepare() too, it should be the first line...that way it isn't touched. Do the same to prepare() that you did for build(). :)

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

@OdinVex: for the last twelve hours everything was building, as I started the second build before Neko-san fixed the icon issue. now that everything built fine with old PKGBUILD, I edited it to include icon fix and add return in build(). can you please check the PKGBUILD, does it look fine? I'm worried about rm -rf "$(pkgname)" on line 150: http://ix.io/4yVF

OdinVex commented on 2023-06-23 19:32 (UTC)

@k1gen Bit confused by what you mean about second build finishing and 'now try to edit'. o_O You're welcome.