summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZerophase2018-05-10 16:54:31 -0500
committerZerophase2018-05-10 18:38:00 -0500
commit5bab3964279f46e66762d6435d950b23430d16e2 (patch)
treec620f479b4b0693bcd9b3f131e00b2581b8d8d0e
parentd5420e2e37a8442654e744351e675e0c241f78e1 (diff)
downloadaur-5bab3964279f46e66762d6435d950b23430d16e2.tar.gz
Update to 4.19.2
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD8
-rw-r--r--unreal-engine.install14
3 files changed, 23 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed114434d3b..f7ca011deaa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Sun Apr 8 22:13:55 UTC 2018
+# Thu May 10 23:36:59 UTC 2018
pkgbase = unreal-engine
pkgdesc = A 3D game engine by Epic Games which can be used non-commercially for free.
- pkgver = 4.19.0
- pkgrel = 2
+ pkgver = 4.19.2
+ pkgrel = 1
url = https://www.unrealengine.com/
+ install = unreal-engine.install
arch = x86_64
license = custom:UnrealEngine
makedepends = clang
@@ -18,8 +19,8 @@ pkgbase = unreal-engine
depends = qt4
depends = python
depends = lld
- options = !strip
- source = git+ssh://git@github.com/EpicGames/UnrealEngine.git#tag=4.19.0-release
+ options = strip
+ source = git+ssh://git@github.com/EpicGames/UnrealEngine.git#tag=4.19.2-release
source = UE4Editor.desktop
source = ignore-return-value-error.patch
source = disable-pie.patch
diff --git a/PKGBUILD b/PKGBUILD
index 3e0cf2ef782..b01dc4bd762 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,13 @@
# Allows enlargement of /tmp to fit Unreal.
# set enlargetmp to any value.
-enlargetmp=
pkgname='unreal-engine'
-pkgver=4.19.0
+install="$pkgname.install"
+pkgver=4.19.2
# shellcheck disable=SC2034
{
- pkgrel=2
+ pkgrel=1
pkgdesc='A 3D game engine by Epic Games which can be used non-commercially for free.'
arch=('x86_64')
url='https://www.unrealengine.com/'
@@ -46,8 +46,6 @@ sha256sums=('SKIP'
prepare() {
export TERM=xterm
# shellcheck disable=SC2154
- # remount /tmp so unreal fits fully in ram if there is enough memory
- [[ -z "$enlargetmp" ]] || { (( $(free -g | grep Mem | awk '{print $2}') > 64 )) && sudo mount -o remount, size=72G,noatime /tmp ; }
ue4src="$srcdir/UnrealEngine/Engine/Source"
linuxToolChain="$ue4src/Programs/UnrealBuildTool/Platform/Linux/LinuxToolChain.cs"
diff --git a/unreal-engine.install b/unreal-engine.install
new file mode 100644
index 00000000000..ec0eb9bb448
--- /dev/null
+++ b/unreal-engine.install
@@ -0,0 +1,14 @@
+
+
+install_unreal() {
+ /opt/unreal-engine/GenerateProjectFiles.sh
+ sed -ri 's|(^,*)-makefile.*|\1-projectfiles "$@"|' /opt/unreal-engine/Engine/Build/BatchFiles/Linux/GenerateProjectFiles.sh
+}
+
+post_install() {
+ install_unreal
+}
+
+post_upgrade() {
+ install_unreal
+}