@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.
Search Criteria
Package Details: unreal-engine 5.5.0-0
Package Actions
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: | 76 |
Popularity: | 1.01 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
Dependencies (29)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR)
- dos2unix (dos2unix-gitAUR)
- dotnet-runtime (dotnet-runtime-2.2AUR, dotnet-runtime-3.0AUR, dotnet-runtime-2.1AUR, dotnet-runtime-5.0-binAUR, dotnet-runtime-7.0-binAUR, dotnet-runtime-6.0-binAUR, dotnet-runtime-preview-binAUR, dotnet-runtime-binAUR, dotnet-runtime-8.0-binAUR)
- dotnet-sdk (dotnet-sdk-2.2AUR, dotnet-sdk-2.2-vs2017AUR, dotnet-sdk-3.0AUR, dotnet-sdk-2.1AUR, dotnet-sdk-5.0-binAUR, dotnet-sdk-6.0.110-binAUR, dotnet-sdk-7.0-binAUR, dotnet-sdk-8.0.300-binAUR, dotnet-sdk-6.0-binAUR, dotnet-sdk-preview-binAUR, dotnet-sdk-binAUR, dotnet-sdk-8.0-binAUR)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR)
- icu63AUR
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR, python311AUR, python310AUR)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- steam
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- xdg-user-dirs
- git (git-gitAUR, git-glAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- grep (grep-gitAUR, busybox-coreutilsAUR, grep-compatAUR) (make)
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR) (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- clionAUR (optional) – IDE for projects
- Show 9 more dependencies...
Required by (1)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 81 Next › Last »
OdinVex commented on 2023-06-23 20:04 (UTC)
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.
seqfault commented on 2023-06-23 19:31 (UTC)
@OdinVex: thank you very much, again. I will now try to edit the PKGBUILD, as the second build just finished
OdinVex commented on 2023-06-23 19:20 (UTC) (edited on 2023-06-23 19:21 (UTC) by OdinVex)
@k1gen When the next version comes out, it's safe to just uninstall UE and clean the cache, then install normally. This was just a one-time oof. ;) In the future, it is pretty much safe to always use yay, but for big packages or things that take a long time, just clone the AUR (and subscribe for version updates) and use makepkg -si
. By the way, when you use makepkg for this stuff, yay detects that too and will appropriately see it, so there isn't conflict. (But again, it currently thinks your build is old simply because of the commit pushes. Just wait to mass update with yay until after unreal-engine gets a version bump. :))
Neko-san commented on 2023-06-23 19:06 (UTC) (edited on 2023-06-23 19:06 (UTC) by Neko-san)
@k1gen I'm not going to be here this weekend to update the PKGBUILD for 5.3 but you can simply change the pkgver
value to 5.3, rebuild, and you'll be good
seqfault commented on 2023-06-23 19:04 (UTC)
@OdinVex: yeah, I'll probably ditch yay soon, gotta start doing aur things on my own, this package showed me that. (I hope) last question: how do I synchronize this PKGBUILD with upstream? for example: 5.3 comes out tomorrow, how do I upgrade without wrecking unreal's cache? just clone https://aur.archlinux.org/unreal-engine.git and makepkg -si?
OdinVex commented on 2023-06-23 18:52 (UTC) (edited on 2023-06-23 18:53 (UTC) by OdinVex)
@k1gen Good luck, hopefully this goes smoothly for you. Maybe look up some resources on bash scripting and such, it's pretty much a requirement to use anything on Linux. Edit: Don't run a yay for unreal-engine until the next real update or yay will overwrite and wreck unreal-engine's cache.
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:
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.