summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2017-07-24 00:33:39 +0100
committerGrey Christoforo2017-07-24 00:33:39 +0100
commit9a9dba4db2878e8eb15577ba4e52a8bff964f29d (patch)
tree9b408971cf2042ce1afa6813eeea7639e80e861e
parentaa4d3e84d17b2de20d537f5d84b3fda22786f396 (diff)
downloadaur-9a9dba4db2878e8eb15577ba4e52a8bff964f29d.tar.gz
add LD_PRELOAD to get the right SDL .so
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1766459d56b3..d3f6ab9190af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Jul 23 23:02:46 UTC 2017
+# Sun Jul 23 23:33:36 UTC 2017
pkgbase = albion-online-launcher-bin
pkgdesc = The first true cross-platform Sandbox MMO -- launcher client
pkgver = 1.0.34.156
- pkgrel = 2
+ pkgrel = 3
url = https://albiononline.com/
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 6cb945e55d82..0173fe8a3aed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=albion-online-launcher-bin
pkgver=1.0.34.156
-pkgrel=2
+pkgrel=3
pkgdesc="The first true cross-platform Sandbox MMO -- launcher client"
url="https://albiononline.com/"
arch=('x86_64')
@@ -24,6 +24,7 @@ prepare() {
sed -i 's,export LD_LIBRARY_PATH=.*,export LD_LIBRARY_PATH=/usr/lib,g' Albion-Online
sed -i 's,export QT_QPA_PLATFORM_PLUGIN_PATH=.*,export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms,g' Albion-Online
sed -i 's,export QT_PLUGIN_PATH=.*,export QT_PLUGIN_PATH=/usr/lib/qt/plugins,g' Albion-Online
+ sed -i 's,.*launcher/Albion-Online" &,LD_PRELOAD=/opt/albion-online-launcher-bin/game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online" &,g' Albion-Online
popd
}