diff options
author | Thomas Laroche | 2015-07-12 18:15:47 +0200 |
---|---|---|
committer | Thomas Laroche | 2015-07-12 18:15:47 +0200 |
commit | 810193b16dd0786f3c942c0cb677fd146fa9cff0 (patch) | |
tree | 4855356f5e36d9c3d2d6182f20be77cacc20c0e0 | |
download | aur-810193b16dd0786f3c942c0cb677fd146fa9cff0.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d5a868f3175d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = fann-git + pkgdesc = Fast artificial neural network library + pkgver = 2.2.0.r57.g0e6fa25 + pkgrel = 1 + url = http://leenissen.dk/fann/ + arch = i686 + arch = x86_64 + license = LGPL2.1 + makedepends = cmake + provides = fann + conflicts = fann + source = fann-git::git+https://github.com/libfann/fann.git + md5sums = SKIP + +pkgname = fann-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97c08cc7c05a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Andreas Hauser <andy-aur@splashground.de> +# Contributor: Beej Jorgensen <beej@beej.us> +# Maintainer: Thomas Laroche <tho.laroche@gmail.com> +pkgname=fann-git +pkgver=2.2.0.r57.g0e6fa25 +pkgrel=1 +pkgdesc="Fast artificial neural network library" +url="http://leenissen.dk/fann/" +arch=('i686' 'x86_64') +license=('LGPL2.1') +makedepends=('cmake') +source=("$pkgname::git+https://github.com/libfann/fann.git") +md5sums=('SKIP') +conflicts=('fann') +provides=('fann') + +pkgver() { + cd "$pkgname" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd $srcdir/$pkgname + cmake -D CMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd $srcdir/$pkgname + make DESTDIR=$pkgdir install +} |