diff options
author | Grey Christoforo | 2018-03-18 22:28:49 +0000 |
---|---|---|
committer | Grey Christoforo | 2018-03-18 22:28:49 +0000 |
commit | da5e08744a406cf96cdddd5de4a388b5acb2ac13 (patch) | |
tree | 7a0a5cdc2585580782ceadbb431555c5b9f7b5c2 | |
parent | a1f9044236d2d038953ad8eb2ef8984743299712 (diff) | |
download | aur-da5e08744a406cf96cdddd5de4a388b5acb2ac13.tar.gz |
fix some launch issues
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,13 +2,13 @@ pkgname=albion-online-live-game-data-bin pkgver=1.11.357.113848 -pkgrel=1 +pkgrel=2 pkgdesc="The first true cross-platform Sandbox MMO -- game data files for live server" url="https://albiononline.com/" arch=('x86_64') license=('custom') makedepends=('wget') -depends=('libgl' 'albion-online-launcher-bin' 'sndio') +depends=('libgl' 'albion-online-launcher-bin') _URL_PREFIX="https://live.albiononline.com/autoupdate/perfileupdate/linux_${pkgver}" source=(toc-${pkgver}.xml::"${_URL_PREFIX}/toc_linux.xml" "albion-online-live.desktop") options=(!strip docs libtool emptydirs !zipman staticlibs !upx) @@ -51,7 +51,9 @@ package() { mkdir -p "${pkgdir}/usr/bin" echo "#!/bin/sh" > "${pkgdir}/usr/bin/albion-online-live" - echo "LD_PRELOAD=/opt/albion-online-launcher-bin/game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0 LD_PRELOAD=/usr/lib/libsndio.so /opt/albion-online-launcher-bin/game_x64/Albion-Online" >> "${pkgdir}/usr/bin/albion-online-live" + echo 'sed -i -e "/Screenmanager Resolution Height/d" "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"' >> "${pkgdir}/usr/bin/albion-online-live" + echo 'sed -i -e "/Screenmanager Resolution Width/d" "$HOME/.config/unity3d/Sandbox Interactive GmbH/Albion Online Client/prefs"' >> "${pkgdir}/usr/bin/albion-online-live" + echo "LD_PRELOAD=/opt/albion-online-launcher-bin/game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0 /opt/albion-online-launcher-bin/game_x64/Albion-Online" >> "${pkgdir}/usr/bin/albion-online-live" chmod +x "${pkgdir}/usr/bin/albion-online-live" # install .desktop file |