updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / libevocosm / PKGBUILD
blob903abccaef246df3a085df6ee308624b6d594ee5
1 # Contributor: Christopher Schwaab -- christopher.schwaab gmail
2 pkgname=libevocosm
3 pkgver=3.1.0
4 pkgrel=1
5 pkgdesc="A collection of tools for creating evolutionary algorithms."
6 url="http://www.coyotegulch.com/products/libevocosm/index.html"
7 arch=('x86_64' 'i686')
8 license="GPL"
9 depends=('libcoyotl' 'libbrahe')
10 #source="http://www.coyotegulch.com/distfiles/$pkgname-$pkgver.tar.bz2" # 3.3.1
11 source="http://www.coyotegulch.com/distfiles/$pkgname-$pkgver.tar.gz" # 3.1.0
12 #md5sums=('92bc04ec304ceeb37229457bf287bf3b') # 3.3.1
13 md5sums=('7fdc1ac67528c819cdaf9091eeee3833') # 3.1.0
15 build() {
16         cd $pkgname-$pkgver
18         sed -i '36i\
19 #include <string.h>' libevocosm/roulette.cpp
20         ./configure --prefix=/usr || return 1
21         make || return 1
22         make DESTDIR="$pkgdir" install || return 1
24         rm -f "$pkgdir/usr/lib/libevocosm.la"