diff options
author | Narrat | 2017-06-28 22:16:50 +0200 |
---|---|---|
committer | Narrat | 2017-06-28 22:16:50 +0200 |
commit | 3e9874b2de730c74fedf29f1179e160e6be9ef93 (patch) | |
tree | cd270d3afc25cb65fe22f13485e5949b70d1c1b6 | |
parent | bf748feda8893417ce30114bf348cb9a6fe5fdcb (diff) | |
download | aur-3e9874b2de730c74fedf29f1179e160e6be9ef93.tar.gz |
tibia: remove start-tibia patch
Suggested by TheAifam5
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | tibia-starter.patch | 12 |
3 files changed, 7 insertions, 26 deletions
@@ -1,7 +1,7 @@ pkgbase = tibia - pkgdesc = A fast-paced free massively multiplayer online role-playing game. + pkgdesc = fast-paced free massively multiplayer online role-playing game pkgver = 11.32.5246 - pkgrel = 1 + pkgrel = 2 url = http://www.tibia.com arch = x86_64 license = custom @@ -16,10 +16,8 @@ pkgbase = tibia depends = qt5-declarative source = tibia-11.32.5246.tar.gz::http://static.tibia.com/download/tibia.x64.tar.gz source = tibia-agreement.php::http://www.tibia.com/support/agreement.php - source = tibia-starter.patch sha256sums = 907421de4de759f424c00bd8c1fa836568ff2fc80b9a0ca792bef1876747cdae sha256sums = 965edf1cf67698f9dcfcbced495e0e96a666207a9a0b91fb769ed386a5f1efe5 - sha256sums = 5ea261b626e788eedebc677df9ca412e668a7ea9db0b88e362378330c2ff475f pkgname = tibia @@ -2,8 +2,8 @@ pkgname=tibia pkgver=11.32.5246 -pkgrel=1 -pkgdesc="A fast-paced free massively multiplayer online role-playing game." +pkgrel=2 +pkgdesc="fast-paced free massively multiplayer online role-playing game" arch=('x86_64') url="http://www.tibia.com" license=('custom') @@ -11,19 +11,14 @@ depends=('glu' 'libgl' 'libice' 'libxext' 'pcre' 'qt5-base' 'qt5-declarative') makedepends=('gendesk' 'python-html2text') source=("${pkgname}-${pkgver}.tar.gz::http://static.tibia.com/download/tibia.x64.tar.gz" - "${pkgname}-agreement.php::http://www.tibia.com/support/agreement.php" - "tibia-starter.patch") + "${pkgname}-agreement.php::http://www.tibia.com/support/agreement.php") sha256sums=('907421de4de759f424c00bd8c1fa836568ff2fc80b9a0ca792bef1876747cdae' - '965edf1cf67698f9dcfcbced495e0e96a666207a9a0b91fb769ed386a5f1efe5' - '5ea261b626e788eedebc677df9ca412e668a7ea9db0b88e362378330c2ff475f') + '965edf1cf67698f9dcfcbced495e0e96a666207a9a0b91fb769ed386a5f1efe5') prepare() { gendesk -f -n html2text "${pkgname}-agreement.php" > LICENSE - - # Adjust start-tibia.sh - patch -Np1 -i "tibia-starter.patch" } package() { @@ -37,5 +32,5 @@ package() { install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" mkdir -p "${pkgdir}/usr/bin" - install -Dm755 ${pkgname}-${pkgver}/start-tibia.sh "${pkgdir}/usr/bin/tibia" + ln -s "${pkgdir}/opt/Tibia/start-tibia.sh" "${pkgdir}/usr/bin/tibia" } diff --git a/tibia-starter.patch b/tibia-starter.patch deleted file mode 100644 index bcda8bc21949..000000000000 --- a/tibia-starter.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/tibia-11.32.5246/start-tibia.sh -+++ b/tibia-11.32.5246/start-tibia.sh -@@ -3,8 +3,6 @@ - # Adapts library load path to include Qt libraries found in the root folder of the client's binary file. - # client shouldn't be called directly to prevent needed libraries not being found. - --SCRIPT=$(readlink -f "$0") --PATH=$(dirname "$SCRIPT") --BIN_PATH="$PATH/bin" -+BIN_PATH="/opt/Tibia/bin" - - LD_LIBRARY_PATH="$BIN_PATH" exec "$BIN_PATH/client" |