summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-20 08:40:59 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-20 08:51:09 -0400
commitad20b60463abad9a5bea49c3de7b6a56c5df7842 (patch)
treef86eccc61074f5f95598a015d935ff5adf63063e
parent1470c2c47c1cf7d2876576f13fac36d4eb23b236 (diff)
downloadabslibre-ad20b60463abad9a5bea49c3de7b6a56c5df7842.tar.gz
abslibre-ad20b60463abad9a5bea49c3de7b6a56c5df7842.tar.bz2
abslibre-ad20b60463abad9a5bea49c3de7b6a56c5df7842.zip
[libfann]: rebuild from versioned release
yes, this is a downgrade - not sorry
-rw-r--r--pcr/libfann/PKGBUILD46
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
}
-