diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-08-16 01:38:45 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-08-16 01:38:45 -0700 |
commit | 41daddbacf33c96e560a055f377e9d9cebacb215 (patch) | |
tree | 9b372bc74d56c1e5ba1cf130690df46379ddec1d /pkgbuilds | |
parent | 7481461e40d64ae918d586f4b0c3f2feeac6977f (diff) |
remove albion
Diffstat (limited to 'pkgbuilds')
5 files changed, 0 insertions, 177 deletions
diff --git a/pkgbuilds/albion-online-launcher-bin/Albion-Online.patch b/pkgbuilds/albion-online-launcher-bin/Albion-Online.patch deleted file mode 100644 index 7c559fb..0000000 --- a/pkgbuilds/albion-online-launcher-bin/Albion-Online.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- old 2023-07-21 14:42:50.270397260 -0700 -+++ new 2023-07-21 14:43:11.827329907 -0700 -@@ -1,16 +1,25 @@ --#!/bin/sh -+#!/bin/bash - SCRIPT=$(readlink -f "$0") - SCRIPTPATH=$(dirname "$SCRIPT") --export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms" --export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/" --OSNAME=$(grep '^NAME=' /etc/os-release) -- --if [ $OSNAME != "NAME=\"SteamOS\"" ]; then - export LIBGL_ALWAYS_SOFTWARE=1 - export QSG_INFO=1 --"$SCRIPTPATH/launcher/Albion-Online" "--no-sandbox" "-loglevel 0" "$@" & --else --export QT_QPA_PLATFORM="xcb;eglfs" --export __GL_GlslUseCollapsedArrays=0 --"$SCRIPTPATH/launcher/Albion-Online" "--no-sandbox" "$@" & -+ -+LD_PRELOAD=\ -+/opt/albion-online-launcher-bin/launcher/libsteam_api.so \ -+apulse "$SCRIPTPATH/launcher/Albion-Online" "--no-sandbox" "-loglevel 0" "$@" -+ -+declare exit_code=$? -+declare core_dump_msg="Core Dump can be produced by corrupt cache -+Clear user cache/configuration and try again! -+\trm -rf \"$HOME/.config/Sandbox Interactive GmbH\" -+\trm -rf \"$HOME/.config/unity3d/Sandbox Interactive GmbH\" -+\trm -rf \"$HOME/.local/share/Sandbox Interactive GmbH/Albion Online Launcher\" -+" -+ -+## Clear cache on core dump -+if (( $exit_code )); then -+ echo "Bad exit code: $exit_code" -+ if (( $exit_code >= 128 )); then ## Core Dump -+ printf "$core_dump_msg" -+ fi - fi diff --git a/pkgbuilds/albion-online-launcher-bin/PKGBUILD b/pkgbuilds/albion-online-launcher-bin/PKGBUILD deleted file mode 100644 index f0f0442..0000000 --- a/pkgbuilds/albion-online-launcher-bin/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Maintainer: Jeancarlo Hidalgo <jeancahu at gmail dot com> -# Contributor: hydrasho <first name [at] last name [dot] net> -# Contributor: GoliathLabs <first name [at] last name [dot] net> -# Contributor: Grey Christoforo <first name [at] last name [dot] net> - -pkgname=albion-online-launcher-bin -pkgver=1.0.34.455 -pkgrel=5 -epoch=1 -pkgdesc="The first true cross-platform Sandbox MMO -- launcher client" -url="https://albiononline.com/" -arch=('x86_64') -license=('custom') -groups=('albion') -depends=( - 'libgl' - 'alsa-lib' - 'libxcb' - 'libxkbcommon' - 'sdl2' - 'qt5-webengine' - 'xdelta3' - 'zenity' -) -makedepends=(chrpath) -#checkdepends=() -#optdepends=() -source=($pkgname-$pkgver::"https://live.albiononline.com/clients/20230721113407/albion-online-setup" - "albion-online-launcher.desktop" "albion-online" "Albion-Online.patch") -install=albion-online-launcher-bin.install -options=(!strip docs libtool emptydirs !zipman staticlibs) -sha256sums=('15b60361dc1f49958fb6b9d479116d808311f9d06ca1bcc3d6daef0810b0ec7e' - '8522ec18f3eba72aefc88c945263bad1b66b8c59d0e0c70c52bc737cff129853' - 'dc8abe731ac9a189a1265fccc13f40f80efd467559dcc03c0dcff8e4ae2bac60' - 'aad5cdb1a9b1f36eb2269e5c0475250ec512b7a4de8831dcb0ac7246dd7b07a7') - -prepare() { - chrpath -d "${srcdir}/data/launcher/Albion-Online" - - pushd "${srcdir}/data/launcher" - rm libQt5* qt.conf xdelta3 QtWebEngineProcess libicu* \ - libSDL2-2.0.so.0 libSDL2-2.0.so \ - libcrypto.so libssl.so libxkbcommon* libxcb* - - rm -r resources plugins translations - chmod 775 ./* - chmod 664 version.txt - popd - - pushd "${srcdir}/data" - patch Albion-Online < "${srcdir}/Albion-Online.patch" - popd -} - -package() { - mkdir -p "${pkgdir}/opt" - cp -a "${srcdir}/data" "${pkgdir}/opt/${pkgname}" - chmod 755 "$pkgdir/opt/${pkgname}" - - mkdir -p "${pkgdir}/opt/${pkgname}/game_x64" - chmod 2775 "${pkgdir}/opt/${pkgname}/game_x64" - - ## Give albion group permission to update the launcher - chmod 2775 "${pkgdir}/opt/${pkgname}/launcher" - - # Link launcher to usr/system binaries directory - mkdir -p "${pkgdir}/usr/bin" - install -m755 -D "${srcdir}/albion-online" "${pkgdir}/usr/bin" - - # Install .desktop file - install -m755 -D "${srcdir}/albion-online-launcher.desktop" -t "${pkgdir}/usr/share/applications" - - # Move EULA to /usr/share licenses path - install -Dm644 "${srcdir}/data/eula.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: diff --git a/pkgbuilds/albion-online-launcher-bin/albion-online b/pkgbuilds/albion-online-launcher-bin/albion-online deleted file mode 100755 index ab727ce..0000000 --- a/pkgbuilds/albion-online-launcher-bin/albion-online +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -declare no_group="Please run the next command in your terminal to give user "\ -"${USER} permissions to update Albion game data:\n"\ -"\nsudo usermod -a -G albion ${USER}" -declare no_sudo="Don't run this game as root(sudo)!! it could be a security risk!" - -if [[ "$USER" == "root" ]]; then - echo -e "${no_sudo}" - exit 1 -fi - -if which newgrp; then : -else - echo "A core package \"util-linux\" is required" - exit 2 -fi - -if (( $( id -nG "$USER" | grep -c '\balbion\b' ) )) # Does the user have the permissions to run as group albion? -then - newgrp albion <<< /opt/albion-online-launcher-bin/Albion-Online -else - if zenity \ - --info \ - --text="$no_group"; then : - else - ## Zenity is not installed - echo -e "${no_group}" - fi - exit 4 -fi diff --git a/pkgbuilds/albion-online-launcher-bin/albion-online-launcher-bin.install b/pkgbuilds/albion-online-launcher-bin/albion-online-launcher-bin.install deleted file mode 100644 index 12b5ea7..0000000 --- a/pkgbuilds/albion-online-launcher-bin/albion-online-launcher-bin.install +++ /dev/null @@ -1,22 +0,0 @@ -post_install() { - post_upgrade -} - -post_upgrade() { - groupadd -r albion &> /dev/null - - cat << "EOM" -==> New group installed: albion -==> Your user must be in the albion group for the launcher to work properly, eg. -==> sudo usermod -a -G albion ${USER} -EOM - chgrp -R albion "/opt/albion-online-launcher-bin/launcher" - chgrp -R albion "/opt/albion-online-launcher-bin/game_x64" -} - -post_remove() { -cat << "EOM" -==> Group removed: albion -EOM - groupdel albion &> /dev/null -} diff --git a/pkgbuilds/albion-online-launcher-bin/albion-online-launcher.desktop b/pkgbuilds/albion-online-launcher-bin/albion-online-launcher.desktop deleted file mode 100644 index 94e13f5..0000000 --- a/pkgbuilds/albion-online-launcher-bin/albion-online-launcher.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Albion Launcher -Comment=The first true cross-platform Sandbox MMO -- game launcher -Exec=albion-online -Icon=/opt/albion-online-launcher-bin/AlbionOnline.xpm -Categories=Game; -Terminal=false |