summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeko-san2022-12-09 04:10:50 -0600
committerNeko-san2022-12-09 04:10:50 -0600
commit0a9b2550f6a053c25e287a1c731b69fa1834ce48 (patch)
treec52bee6deb18880c68c15ff9e7191f196d180113
parent903543c0f255d373d0411e7ee8ca55232d3d1ab4 (diff)
downloadaur-0a9b2550f6a053c25e287a1c731b69fa1834ce48.tar.gz
Corrected a mistake that was made to prevent a SC2115 Bash warning; updated to pkgrel 25
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6c9f75a917d3..6a4a2bb9acc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = unreal-engine
pkgdesc = A 3D game engine by Epic Games which can be used non-commercially for free.
pkgver = 5.1.0
- pkgrel = 24
+ pkgrel = 25
url = https://www.unrealengine.com/
arch = x86_64
arch = x86_64_v2
diff --git a/PKGBUILD b/PKGBUILD
index 1cbc864163e3..d9a448879aaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# If you want additional options, there are switches below.
pkgname=unreal-engine
pkgver=5.1.0
-pkgrel=24
+pkgrel=25
pkgdesc='A 3D game engine by Epic Games which can be used non-commercially for free.'
arch=('x86_64' 'x86_64_v2' 'x86_64_v3' 'x86_64_v4' 'aarch64')
url=https://www.unrealengine.com/
@@ -214,7 +214,7 @@ package() {
# Copy the rest of it to pkg... Should we be overwriting LocalBuilds?
cp -flr "${srcdir}"/"${pkgname}"/* "${pkgdir}"/"${_install_dir}"/
if [ -f "${srcdir}"/"${pkgname}"/Engine/Binaries/Linux/UnrealEditor ]; then
- rm -r "${srcdir}"/"${pkgname}"/*$
+ rm -r "${srcdir}"/"${pkgname:?}"/*
fi
if [ -f "${srcdir}/${pkgname}/cpp.hint" ] && [ ! -d "${srcdir}/${pkgname}/cpp.hint" ]; then