updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / golly / PKGBUILD
blob918479c359c7b24c234d2e2b781a5a8bb663614a
1 # Maintainer: p2k <Patrick.Schneider@uni-ulm.de>
2 # Contributor: maksverver <maksverver@geocities.com>
3 pkgname=golly
4 pkgver=2.2
5 pkgrel=1
6 pkgdesc="A simulator for Conway's Game of Life and other cellular automata"
7 arch=('i686' 'x86_64')
8 url="http://golly.sourceforge.net/"
9 license=('GPL')
10 depends=('wxgtk>=2.8' 'wxgtk<2.9')
11 makedepends=('perl' 'python2')
12 optdepends=('perl: for Perl scripting support'
13             'python2: for Python scripting support')
14 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz)
15 md5sums=('6d90865eb23db524fc537170c1c260c1')
17 build() {
18     cd "$srcdir/$pkgname-$pkgver-src"
20     ./configure \
21         --with-perl-shlib=/usr/lib/perl5/core_perl/CORE/libperl.so \
22         --with-python-shlib=libpython2.7.so \
23         --prefix=/usr
25     make
28 package() {
29     cd "$srcdir/$pkgname-$pkgver-src"
30     make DESTDIR="$pkgdir" install