diff options
author | Grey Christoforo | 2017-07-24 00:33:39 +0100 |
---|---|---|
committer | Grey Christoforo | 2017-07-24 00:33:39 +0100 |
commit | 9a9dba4db2878e8eb15577ba4e52a8bff964f29d (patch) | |
tree | 9b408971cf2042ce1afa6813eeea7639e80e861e | |
parent | aa4d3e84d17b2de20d537f5d84b3fda22786f396 (diff) | |
download | aur-9a9dba4db2878e8eb15577ba4e52a8bff964f29d.tar.gz |
add LD_PRELOAD to get the right SDL .so
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 } |