alez

raptor pkgbuild

Mar 28th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # Maintainer: archtux <[email protected]>
  2. #contrib: alez <[email protected]>
  3.  
  4. pkgname=raptor-chess-interface
  5. pkgver=98RC11
  6. pkgrel=3
  7. pkgdesc="Raptor is a cross platform chess interface and pgn viewer that currently supports FICS and BICS."
  8. arch=('i686' 'x86_64')
  9. url="http://code.google.com/p/raptor-chess-interface/"
  10. license=('BSD')
  11. depends=('java-runtime' 'sox')
  12. install='raptor.install'
  13.  
  14. if [ "${CARCH}" = 'x86_64' ]; then
  15. source=(http://raptor-chess-interface.googlecode.com/files/Raptor_v${pkgver}_Linux_x86_64_GTK2.zip)
  16. md5sums=('315a40b105c6616018b8d3ea79340dae')
  17. elif [ "${CARCH}" = 'i686' ]; then
  18. source=(http://raptor-chess-interface.googlecode.com/files/Raptor_v${pkgver}_Linux_x86_GTK2.zip)
  19. md5sums=('b60e98d9d6cb4e516a386db8e58c1d66')
  20. fi
  21.  
  22.  
  23. build() {
  24. cd $srcdir/Raptor_v${pkgver}
  25.  
  26. mkdir -p $pkgdir/opt/raptor
  27. cp -R ./* $pkgdir/opt/raptor
  28. install -Dm644 ./resources/images/raptorIcon.gif $pkgdir/usr/share/pixmaps/raptor.gif
  29. cd $startdir
  30. cp raptor $pkgdir/opt/raptor/raptor
  31.  
  32. # Desktop Icon
  33. install -Dm644 raptor.desktop $pkgdir/usr/share/applications/raptor.desktop
  34. }
Advertisement
Add Comment
Please, Sign In to add comment