updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / lfann / PKGBUILD
blobc5747fca540bb7d6b6fe0d8e607714ada3ff0e96
1 # Maintainer: Lucas Hermann Negri <kkndrox@gmail.org>
3 pkgname=lfann
4 pkgver=1.0.1
5 pkgrel=1
6 pkgdesc="FANN bindings to Lua" 
7 arch=(i686 x86_64)
8 url="http://oproj.tuxfamily.org" 
9 depends=('fann>=2.1' 'lua>=5.1') 
10 makedepends=('gcc')
11 license=(LGPL)
12 source=(http://download.tuxfamily.org/oproj/$pkgname/$pkgname-$pkgver.tar.bz2)
13 md5sums=('e6d0fe3144b5cf2893234dc26fe28a00')
15 build() { 
16         cd $startdir/src/$pkgname-$pkgver
17         
18         if [ $arch = 'x86_64' ]; then
19                 make AMD64=1 || 1
20         else
21                 make || 1
22         fi
24         make install DESTDIR=$startdir/pkg/usr || 1