Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 13th, 2010  |  syntax: None  |  size: 1.69 KB  |  views: 43  |  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. # Maintainer: elwin013 <kontakt AT elwin013 DOT com>
  2. # Contributor: Jesses <jesse.jaara AT gmail DOT com>
  3. # Contributor: robb_force <robb_force AT holybuffalo DOT net>
  4. pkgname=daimonin
  5. pkgver=0.10.3
  6. pkgrel=7
  7. pkgdesc="A free, open source, Massively Multiplayer Online Role-playing Game (MMORPG)."
  8. arch=('i686' 'x86_64')
  9. url="http://www.daimonin.org"
  10. license=('GPL')
  11. depends=('sdl_mixer' 'sdl_image' 'physfs' 'curl')
  12. source=(http://daimonin.svn.sourceforge.net/viewvc/${pkgname}/main/${pkgname}-client.tar.gz \
  13. ${pkgname}.desktop \
  14. ${pkgname}.png \
  15. Makefile.am \
  16. Makefile.in \
  17. daimonin)
  18. md5sums=('216ec9744603fa46f6e86c5e06ec465a'
  19.          'a910ade3a5c18cd9dd3fb156b4bea57a'
  20.          '7480f31868a20a4bce8fe940adc3c243'
  21.          'ae5d69ad02077c79a5a6dfc56f26ac46'
  22.          'ed395a742e2b8c303e333013b49e8fe5'
  23.          'b5c27b5af36cbb69581af81acb3843cc')
  24.          
  25. build() {
  26.   cp Makefile.am $srcdir/client/make/linux
  27.   cp Makefile.in $srcdir/client/make/linux
  28.  
  29.   cd "$srcdir/client/make/linux"
  30.   ./bootstrap
  31.   ./configure --prefix=/usr/share
  32.   make
  33.   make DESTDIR="${pkgdir}" install
  34.  
  35.   cd ../../
  36.   mkdir -p $pkgdir/usr/share/licenses/$pkgname
  37.   install --mode=644 License $pkgdir/usr/share/licenses/$pkgname/License
  38.   install --mode=644 media/License\ Note $pkgdir/usr/share/licenses/$pkgname/License\ Note
  39.   install --mode=644 media/media.txt $pkgdir/usr/share/licenses/$pkgname/media.txt
  40.  
  41.   cd ../../
  42.   mkdir -p $pkgdir/usr/bin
  43.   install --mode=755 $pkgname $pkgdir/usr/bin/
  44.   mkdir $pkgdir/usr/share/applications
  45.   mkdir $pkgdir/usr/share/pixmaps
  46.   install --mode=644 $pkgname.desktop $pkgdir/usr/share/applications/
  47.   install --mode=644 $pkgname.png $pkgdir/usr/share/pixmaps/
  48. }