1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
7 pkgdesc='Python binding for Fast Artificial Neural Network Library'
9 url='http://leenissen.dk/fann/'
13 source=("http://downloads.sourceforge.net/sourceforge/fann/fann-${pkgver}.zip"
14 "fann-2.1.0beta-shared-libs.patch")
15 md5sums=('9c53d96ce415c927cb97b8f9de2ea881'
16 '18d1b10c94cbed4f3fe708e1b06b38d1')
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}