diff options
Diffstat (limited to 'pcr/libfann/PKGBUILD')
-rw-r--r-- | pcr/libfann/PKGBUILD | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/pcr/libfann/PKGBUILD b/pcr/libfann/PKGBUILD index 0852a0f14..bbad5a564 100644 --- a/pcr/libfann/PKGBUILD +++ b/pcr/libfann/PKGBUILD @@ -1,37 +1,37 @@ -# Maintainer (AUR): Oleksandr Natalenko aka post-factum <oleksandr@natalenko.name> +# Contributor (AUR): Oleksandr Natalenko aka post-factum <oleksandr@natalenko.name> +# Contributor: fauno <fauno@parabola.nu> +# Contrbutor: bill-auger <bill-auger@programmer.net> -# parabola changes and rationale: -# no changes. -_origname=fann -pkgname=lib${_origname} -_fullrev=d71d54788bee56ba4cf7522801270152da5209d7 -_rev=d71d54788 -pkgver=2.2.0.${_rev} -pkgrel=5 +pkgname=libfann +_srcname=fann +pkgver=2.2.0 +pkgrel=6 pkgdesc="Fast Artificial Neural Network Library" -url="https://github.com/${pkgname}/${_origname}" +url=https://github.com/libfann/fann/ arch=('i686' 'x86_64' 'armv7h') -license=('LGPLv2.1') +license=('LGPL2.1') + depends=('glibc') makedepends=('git' 'gcc' 'cmake' 'make' 'coreutils') -source=(${pkgname}-${pkgver}.zip::https://github.com/${pkgname}/${_origname}/archive/${_fullrev}.zip) +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${_srcname}/archive/${pkgver}.tar.gz) + +sha256sums=('f31c92c1589996f97d855939b37293478ac03d24b4e1c08ff21e0bd093449c3c') -sha256sums=('a456c8703de30734317549ba26e7c574f56edbc7964d23f3ffe0bcd51c3297d6') -build() { - cd "${srcdir}/${_origname}-${_fullrev}" +build() +{ + mkdir -p "${srcdir}"/${_srcname}-${pkgver}/build + cd "${srcdir}"/${_srcname}-${pkgver}/build - mkdir -p build - cd build - cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr .. + cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" .. - make -j$(nproc) + make } -package() { - cd "${srcdir}/${_origname}-${_fullrev}/build" +package() +{ + cd "${srcdir}"/${_srcname}-${pkgver}/build - make install + make install } - |