updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / eugene-svn / PKGBUILD
blob66e5a0c15a9a50ab0cb2bbec288391997d3c156b
1 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: SpepS <dreamspepser at yahoo dot it>
4 pkgname=eugene-svn
5 pkgver=3031
6 pkgrel=2
7 pkgdesc="Eugene is a basic (fast, parallel) Genetic Algorithm implementation in C++"
8 arch=('i686' 'x86_64')
9 url="http://dev.drobilla.net/browser/trunk/eugene"
10 license=('GPL')
11 depends=('flowcanvas>=0.5.1' 'glibmm>=2.14.0' 'gtkmm>=2.10.0' 'libglademm>=2.6.0' 'libgnomecanvasmm>=2.6.0' 'boost' 'python2')
12 makedepends=('subversion')
13 install=eugene.install
15 _svnmod="eugene"
16 _svntrunk="http://svn.drobilla.net/lad/trunk"
18 build() {
19  cd "$srcdir"
20  msg "Connecting to SVN server..."
21  msg "Checking out $_svnmod"
22  svn co "$_svntrunk" "$_svnmod"
23  msg "SVN checkout done or server timeout"
25  msg "Starting build..."
26  cd "$srcdir/$_svnmod/${pkgname%-svn}"
27  python2 ./waf configure --prefix=/usr
28  python2 ./waf
31 package() {
32  cd "$srcdir/$_svnmod/${pkgname%-svn}"
33  DESTDIR="$pkgdir" python2 ./waf install