Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 28th, 2010  |  syntax: Bash  |  size: 1.35 KB  |  hits: 121  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Wesley <rudirennsau_at_hotmail_dot_com>
  2.  
  3. pkgname=doomseeker
  4. pkgver=0.7b
  5. pkgrel=1
  6. pkgdesc="Multiplayer Lobby for Doom ports (ZDaemon, Vavoom, Skulltag and Odamex)"
  7. arch=('i686' 'x86_64')
  8. url="http://skulltag.net/doomseeker"
  9. conflicts=('doomseeker-svn')
  10. depends=('qt' 'zlib')
  11. makedepends=('cmake')
  12. license=('GPL')
  13. source=(http://skulltag.net/download/files/$pkgname/$pkgname-$pkgver\_src.tar.bz2 doomseeker.sh doomseeker.desktop)
  14. md5sums=('f46d2834938ce2d66b0078c8dcecfc34' 'd03909d5d98e31cae480a3dd598a17ef' '766935dee723eee0ef17fef55448a6e9')
  15.  
  16. build() {
  17.         cd $startdir/src/$pkgname-2010_src/
  18.  
  19.         cmake .
  20.         make || return 1
  21. }
  22.  
  23. package() {
  24.         mkdir -p $startdir/pkg/opt/doomseeker
  25.         cp $startdir/src/$pkgname-2010_src/doomseeker $startdir/pkg/opt/doomseeker/
  26.         cp $startdir/src/$pkgname-2010_src/libwadseeker.so $startdir/pkg/opt/doomseeker/
  27.         cp -r $startdir/src/$pkgname-2010_src/media $startdir/pkg/opt/doomseeker/
  28.         cp -r $startdir/src/$pkgname-2010_src/engines $startdir/pkg/opt/doomseeker/
  29.  
  30.         mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
  31.         install -D -m644 $startdir/src/$pkgname-2010_src/media/icon.png $startdir/pkg/usr/share/pixmaps/doomseeker.png
  32.         install -D -m644 $startdir/doomseeker.desktop $startdir/pkg/usr/share/applications/doomseeker.desktop
  33.         install -D -m755 $startdir/doomseeker.sh $startdir/pkg/usr/bin/doomseeker
  34. }