spacepaste

  1.  
  2. # Maintainer: spider-mario <spidermario@free.fr>
  3. # Contributor: p2k <me@p2k-network.org>
  4. # Contributor: Yaohan Chen <yaohan.chen@gmail.com>
  5. # Contributor: raingloom <raingloom42@gmail.com>
  6. pkgname=wakfu-transition
  7. pkgver=1.38
  8. pkgrel=7
  9. pkgdesc="A turn-based tactical Massively Multiplayer Online Role-playing Game (MMORPG) written in Java/OpenGL."
  10. arch=('i686' 'x86_64')
  11. url="http://www.wakfu.com/"
  12. license=( "custom" )
  13. depends=('libgl' 'openal' 'java-environment' 'ankama-transition')
  14. provides=('wakfu')
  15. conflicts=('wakfu')
  16. replaces=('wakfu')
  17. install='wakfu.install'
  18. source=('wakfu.sh'
  19. 'wakfu.desktop')
  20. source_i686=('http://dl.ak.ankama.com/games/installers/wakfu-x86.tar.gz')
  21. source_x86_64=('http://dl.ak.ankama.com/games/installers/wakfu-amd64.tar.gz')
  22. sha512sums=('3753ee7eeadf55d5ab6e209ffbb73b606dc11afd39106246ec3271c1705541009729cbde8d2013d3eefcfa33e629f210274541add30e9797da4bba09e60a0d94'
  23. '0f02ce4b83c4c7661f83dbcfd6544d1e3dede90dd11d8010c264a1d1b27f2717bb446637ce0451967a92d60e90740c7f750900ecc1e072cd3f58bde2eb00c9ad')
  24. sha512sums_i686=('d9ab380a641a085c006a3bd70d912f1b8dd5dff93b906853b05dcb89ff2a8c6eb29f38a3c542d698d936856df116dd5bf1d4869f22e0983f7d2ec4487167725a')
  25. sha512sums_x86_64=('5c9a8e2b8c712c203db6b20cbd717833be737b8859573ea9419fb4941fab74fe14e270004dc12e236439be950ee064df658832de3b70130c7b7ba7e5c8ddfdc4')
  26. package() {
  27. install -Dm755 wakfu.sh "$pkgdir/usr/bin/wakfu"
  28. install -Dm644 wakfu.desktop "$pkgdir/usr/share/applications/wakfu.desktop"
  29. cd Wakfu
  30. msg2 'Installing icons'
  31. for _icon in game/updater_data/icons/game_icon_*.png
  32. do
  33. _size=$(basename $_icon | grep -o '[0-9]\+x[0-9]\+')
  34. install -Dm644 "$_icon" "$pkgdir/usr/share/icons/hicolor/${_size}/apps/wakfu.png"
  35. done
  36. msg2 'Installing main application'
  37. _installdir="opt/ankama/wakfu"
  38. install -d "$pkgdir/$_installdir"
  39. cp -a * "$pkgdir/$_installdir"
  40. }
  41. # vim:set ts=2 sw=2 et:
  42.