From ad20b60463abad9a5bea49c3de7b6a56c5df7842 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Mon, 20 Jul 2020 08:40:59 -0400 Subject: [libfann]: rebuild from versioned release yes, this is a downgrade - not sorry --- pcr/libfann/PKGBUILD | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'pcr/libfann/PKGBUILD') 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 +# Contributor (AUR): Oleksandr Natalenko aka post-factum +# Contributor: fauno +# Contrbutor: bill-auger -# 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 } - -- cgit v1.2.3