Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 22nd, 2010  |  syntax: None  |  size: 0.75 KB  |  hits: 166  |  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. pkgname=golly
  2. pkgver=2.2
  3. pkgrel=1
  4. pkgdesc="A simulator for Conway's Game of Life and other cellular automata"
  5. arch=('i686' 'x86_64')
  6. url="http://golly.sourceforge.net/"
  7. license=('GPL')
  8. depends=('wxgtk>=2.8' 'wxgtk<2.9')
  9. makedepends=('perl' 'python2')
  10. optdepends=('perl: for Perl scripting support'
  11.             'python2: for Python scripting support')
  12. source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz)
  13. md5sums=('6d90865eb23db524fc537170c1c260c1')
  14.  
  15. build() {
  16.         cd "$srcdir/$pkgname-$pkgver-src"
  17.         ./configure \
  18.                 --with-perl-shlib=/usr/lib/perl5/core_perl/CORE/libperl.so \
  19.                 --with-python-shlib=libpython2.7.so \
  20.                 --prefix=/usr
  21.         make
  22. }
  23.  
  24. package() {
  25.         cd "$srcdir/$pkgname-$pkgver-src"
  26.         make DESTDIR="$pkgdir" install
  27. }