# Contributor (AUR): Oleksandr Natalenko aka post-factum # Contributor: fauno # Contrbutor: bill-auger pkgname=libfann _srcname=fann pkgver=2.2.0 pkgrel=6 pkgdesc="Fast Artificial Neural Network Library" url=https://github.com/libfann/fann/ arch=('i686' 'x86_64' 'armv7h') license=('LGPL2.1') depends=('glibc') makedepends=('git' 'gcc' 'cmake' 'make' 'coreutils') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${_srcname}/archive/${pkgver}.tar.gz) sha256sums=('f31c92c1589996f97d855939b37293478ac03d24b4e1c08ff21e0bd093449c3c') build() { mkdir -p "${srcdir}"/${_srcname}-${pkgver}/build cd "${srcdir}"/${_srcname}-${pkgver}/build cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" .. make } package() { cd "${srcdir}"/${_srcname}-${pkgver}/build make install }