diff options
author | Yaohan Chen | 2018-09-22 04:24:16 -0400 |
---|---|---|
committer | Yaohan Chen | 2018-09-22 04:24:16 -0400 |
commit | 7fe24d8e83fd22f092ce9444f882238648f8489c (patch) | |
tree | 284d8fa26a72ab1a90f2c20c3e3effa933e56335 | |
parent | 3e98ccffdd3e31964b77acb74a22447ac58af8a2 (diff) | |
download | aur-7fe24d8e83fd22f092ce9444f882238648f8489c.tar.gz |
Update dependencies, remove Air wrapper
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | dofus-beta.sh | 8 |
3 files changed, 10 insertions, 59 deletions
@@ -1,35 +1,23 @@ # Generated by mksrcinfo v8 -# Fri Mar 9 04:58:33 UTC 2018 +# Sat Sep 22 08:24:11 UTC 2018 pkgbase = dofus-beta pkgdesc = A manga inspired, Massively Multiplayer Online Role-playing Game (MMORPG) for Adobe AIR (Beta version). - pkgver = 2.46 + pkgver = 2.48 pkgrel = 1 url = http://www.dofus.com/ install = dofus-beta.install arch = i686 arch = x86_64 license = custom:Dofus License - depends = adobe-air-sdk - depends = qt5-base depends = libpng12 - optdepends = pulseaudio-alsa: Required for the game to play sounds with PulseAudio + depends = wine source = dofus-beta.desktop source = dofus-beta.sh - source = air-generic-launcher.sh - source = transition.conf.patch md5sums = 0e797e4fcf39e1d06f68b51bfd215040 - md5sums = cecd52aa9a58f756fa15925528400d66 - md5sums = 092f6852a6ea603a7b8c7175a13eb416 - md5sums = 28fa5927aad634debf7f1ff9f549f59c + md5sums = c30ea01c11808930ae968e09272929d5 source_i686 = http://dl.ak.ankama.com/games/installers/beta/dofus-beta-x86.tar.gz - depends_i686 = gtk2 - depends_i686 = alsa-lib - depends_i686 = alsa-plugins md5sums_i686 = 01ce4e20df355f9a5724ef5c5b880cbf source_x86_64 = http://dl.ak.ankama.com/games/installers/beta/dofus-beta-amd64.tar.gz - depends_x86_64 = lib32-gtk2 - depends_x86_64 = lib32-alsa-lib - depends_x86_64 = lib32-alsa-plugins md5sums_x86_64 = 7566e58290a158e12156ef8ab608c7d0 pkgname = dofus-beta @@ -2,45 +2,27 @@ # Contributor: spider-mario <spidermario@free.fr> # Contributor: p2k <Patrick.Schneider@uni-ulm.de> # Contributor: Schtroumpfette <fpeterschmitt@voila.fr> - -# 1: use adl to launch the game. Otherwise, use official game binaries directly. -USE_ADL=1 +# Contributor: Genesis <tofupedia.fr@gmail.com> pkgname=dofus-beta -pkgver=2.46 +pkgver=2.48 pkgrel=1 pkgdesc='A manga inspired, Massively Multiplayer Online Role-playing Game (MMORPG) for Adobe AIR (Beta version).' arch=('i686' 'x86_64') url='http://www.dofus.com/' license=('custom:Dofus License') install='dofus-beta.install' -depends=('adobe-air-sdk' 'qt5-base' 'libpng12') -depends_x86_64+=('lib32-gtk2' 'lib32-alsa-lib' 'lib32-alsa-plugins') -depends_i686+=('gtk2' 'alsa-lib' 'alsa-plugins') -optdepends=('pulseaudio-alsa: Required for the game to play sounds with PulseAudio') +depends=('libpng12' 'wine') source=('dofus-beta.desktop' - 'dofus-beta.sh' - 'air-generic-launcher.sh' - 'transition.conf.patch') + 'dofus-beta.sh') source_i686=('http://dl.ak.ankama.com/games/installers/beta/dofus-beta-x86.tar.gz') source_x86_64=('http://dl.ak.ankama.com/games/installers/beta/dofus-beta-amd64.tar.gz') md5sums=('0e797e4fcf39e1d06f68b51bfd215040' - 'cecd52aa9a58f756fa15925528400d66' - '092f6852a6ea603a7b8c7175a13eb416' - '28fa5927aad634debf7f1ff9f549f59c') + 'c30ea01c11808930ae968e09272929d5') md5sums_i686=('01ce4e20df355f9a5724ef5c5b880cbf') md5sums_x86_64=('7566e58290a158e12156ef8ab608c7d0') -prepare() { - if [ "$USE_ADL" -eq "1" ] - then - cd "$srcdir" - msg2 'Modifying transition configuration to use adl-based launchers' - patch -p0 < transition.conf.patch - fi -} - package() { msg2 'Installing main applications...' installdir='opt/ankama/dofus-beta' @@ -50,9 +32,6 @@ package() { msg2 'Setting up game file permissions...' chgrp -R games "$pkgdir/$installdir" chmod -R g+w "$pkgdir/$installdir" - install -dm775 "$pkgdir/$installdir/bin" - install -dm775 "$pkgdir/$installdir/share/reg/" - install -dm775 "$pkgdir/$installdir/share/reg/bin" msg2 'Installing launcher...' install -Dm755 "$srcdir/dofus-beta.sh" "$pkgdir/usr/bin/dofus-beta" @@ -64,16 +43,6 @@ package() { size="$(basename "$icon" | grep -o '[0-9]\+x[0-9]\+')" install -Dm644 "$icon" "$pkgdir/usr/share/icons/hicolor/$size/apps/dofus-beta.png" done - - if [ "$USE_ADL" -eq "1" ] - then - msg2 'Installing adl based launchers...' - install -Dm755 'air-generic-launcher.sh' "$pkgdir/$installdir/bin/air-generic-launcher.sh" - install -Dm755 'air-generic-launcher.sh' "$pkgdir/$installdir/share/reg/bin/air-generic-launcher.sh" - else - msg2 'Installing link to bypass Adobe Air detection...' - ln -s '/opt/adobe-air-sdk/runtimes/air/linux/Adobe AIR/' "$pkgdir/opt/Adobe AIR" - fi } # vim:set ts=2 sw=2 et: diff --git a/dofus-beta.sh b/dofus-beta.sh index 52d26c0cac64..5fdca87bcb41 100644 --- a/dofus-beta.sh +++ b/dofus-beta.sh @@ -1,10 +1,4 @@ #!/bin/sh game=/opt/ankama/dofus-beta/DofusBeta -# Use padsp or the game may not play sounds with PulseAudio -if which padsp -then - padsp "$game" "$@" -else - "$game" "$@" -fi +"$game" "$@" |