updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / avida / PKGBUILD
blobfa2331dba2231ac9dfda11a768cbfaaf2268d210
1 # Contributor: Dmitriy Morozov <archlinux@foxcub.org> 
2 pkgname=avida
3 pkgver=2.8.1
4 pkgrel=1 
5 pkgdesc="Study of evolution in digital organisms."
6 url="http://devolab.cse.msu.edu"
7 arch=('i686' 'x86_64')
8 license="GPL" 
9 depends=('cmake' 'python' 'ncurses') 
10 source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-src.tar.gz
11         gcc43.patch) 
12 md5sums=('99d9405921a23df1813e34c96106cd47'
13          '1c4620cfb1ed82ee466d7e979fd5e3c0')
15 build() { 
16  cd $startdir/src/$pkgname-src-$pkgver
17  patch -p0 < $startdir/gcc43.patch
18  ./build_avida
19  cd cbuild
20  mkdir -p $startdir/pkg/usr
21  cp -r bin $startdir/pkg/usr
22  cp -r lib $startdir/pkg/usr
23  mkdir -p $startdir/pkg/usr/share/avida/work
24  cp work/*.cfg $startdir/pkg/usr/share/avida/work
25  cp work/*.org $startdir/pkg/usr/share/avida/work