summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShatur952020-11-21 04:30:47 +0200
committerShatur952020-11-21 04:30:47 +0200
commit6a6ff0db7f9c5e10592fba44513dc9c884c3e559 (patch)
tree919bd2a251690d6b2daf8b64092479196b505849
parent1273e292228d15387a5d59764261875caac9fda6 (diff)
downloadaur-6a6ff0db7f9c5e10592fba44513dc9c884c3e559.tar.gz
Revert "Copy all compiled files"
This reverts commit 8f23c9b2e478845693d4068f441206f346eacf33.
-rw-r--r--PKGBUILD30
1 files changed, 27 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ee5312cd8be..b967b267b6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -90,7 +90,31 @@ package() {
# License
install -Dm644 LICENSE.md $pkgdir/usr/share/licenses/UnrealEngine/LICENSE.md
- # Engine files (we have to copy it with all the compiled cache)
- install -dma+rwX "$pkgdir/$dir"
- mv * "$pkgdir/$dir"
+ # Engine
+ install -dma+rwX "$pkgdir/$dir/Engine"
+ mv Engine/Binaries "$pkgdir/$dir/Engine/Binaries"
+ mv Engine/Build "$pkgdir/$dir/Engine/Build"
+ mv Engine/Config "$pkgdir/$dir/Engine/Config"
+ mv Engine/Content "$pkgdir/$dir/Engine/Content"
+ mv Engine/Documentation "$pkgdir/$dir/Engine/Documentation"
+ mv Engine/Extras "$pkgdir/$dir/Engine/Extras"
+ mv Engine/Plugins "$pkgdir/$dir/Engine/Plugins"
+ mv Engine/Programs "$pkgdir/$dir/Engine/Programs"
+ mv Engine/Shaders "$pkgdir/$dir/Engine/Shaders"
+ mv Engine/Source "$pkgdir/$dir/Engine/Source"
+
+ # Required folders
+ install -d "$pkgdir/$dir/Engine/DerivedDataCache"
+ install -d "$pkgdir/$dir/Engine/Intermediate"
+ install -d "$pkgdir/$dir/Engine/Saved"
+
+ # Content
+ mv FeaturePacks "$pkgdir/$dir/FeaturePacks"
+ mv Samples "$pkgdir/$dir/Samples"
+ mv Templates "$pkgdir/$dir/Templates"
+
+ # Build scripts, used by some plugins (CLion)
+ install -Dm755 GenerateProjectFiles.sh "$pkgdir/$dir/GenerateProjectFiles.sh"
+ install -Dm755 Setup.sh "$pkgdir/$dir/Setup.sh"
+ install -Dm644 .ue4dependencies "$pkgdir/$dir/.ue4dependencies"
}