updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python2-fann / PKGBUILD
blobdaf5a842a842540f03435d960c52abcb848664bb
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
4 pkgname=python2-fann
5 pkgver=2.1.0beta
6 pkgrel=1
7 pkgdesc='Python binding for Fast Artificial Neural Network Library'
8 arch=('i686' 'x86_64')
9 url='http://leenissen.dk/fann/'
10 license=('GPL')
11 depends=('python2')
12 makedepends=('swig')
13 source=("http://downloads.sourceforge.net/sourceforge/fann/fann-${pkgver}.zip"
14         "fann-2.1.0beta-shared-libs.patch")
15 md5sums=('9c53d96ce415c927cb97b8f9de2ea881'
16          '18d1b10c94cbed4f3fe708e1b06b38d1')
18 build() {
19   cd fann-${pkgver/beta}
21   patch -Np1 -i ${srcdir}/fann-2.1.0beta-shared-libs.patch
23   sed -i 's/PYTHON=python/&2/' python/Makefile
25   make -C python install ROOT=${pkgdir}