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 May 8th, 2012  |  syntax: Bash  |  size: 0.66 KB  |  views: 71  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Gerardo Marset <gammer1994@gmail.com>
  2. # Contributor: Christoph Zeiler <rabyte*gmail>
  3.  
  4. pkgname=adonthell
  5. pkgver=0.3.5
  6. pkgrel=7
  7. pkgdesc="A 2D graphical, single player role playing game engine."
  8. arch=('i686' 'x86_64')
  9. url="http://adonthell.nongnu.org/"
  10. license=('GPL')
  11. depends=('sdl_mixer>=1.2' 'sdl_ttf>=2' 'python2')
  12. source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-src-$pkgver.tar.gz)
  13. md5sums=('64a344b1ed8a7808d7adafa337120a00')
  14.  
  15. build() {
  16.   cd $pkgname-$pkgver
  17.  
  18.   sed '/^ *for ac_prog in / s|python|python2|' -i configure
  19.   CFLAGS="$CFLAGS -fpermissive"
  20.  
  21.   ./configure --prefix=/usr
  22.   make
  23.   make DESTDIR=$pkgdir install
  24. }