Date: Friday, August 24, 2018 @ 09:25:24 Author: arojas Revision: 332944
archrelease: copy trunk to extra-any Added: eigen/repos/extra-any/PKGBUILD (from rev 332943, eigen/trunk/PKGBUILD) Deleted: eigen/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 85 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-24 09:25:01 UTC (rev 332943) +++ PKGBUILD 2018-08-24 09:25:24 UTC (rev 332944) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren <ron...@archlinux.org> -# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com> -# Contributor: Kringel - -pkgname=eigen -pkgver=3.3.5 -pkgrel=2 -pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra." -arch=('any') -url='http://eigen.tuxfamily.org' -license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK') -makedepends=('cmake' 'pkg-config' 'freeglut' 'gcc-fortran' 'fftw' 'qt4' 'suitesparse' 'boost') -optdepends=('qt4: for example programs') -replaces=('eigen3') -provides=('eigen3') -source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2" - https://github.com/eigenteam/eigen-git-mirror/commit/35e60f60.patch) -sha1sums=('69fd635550bcf8cffbb05740b5baa4608a3870c7' - '0fae36b33bf9f9453a4b5620116bf0f981a24692') - -prepare() { - mkdir -p build - cd eigen-eigen-* - patch -p1 -i ../35e60f60.patch # Fix build of step -} - -build() { - cd build - cmake ../eigen-eigen-* \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib -} - -package() { - cd build - make DESTDIR="$pkgdir" install - - # install custom licenses - install -Dm644 ../eigen-eigen-*/COPYING.MPL2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 ../eigen-eigen-*/COPYING.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 ../eigen-eigen-*/COPYING.MINPACK "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: eigen/repos/extra-any/PKGBUILD (from rev 332943, eigen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-24 09:25:24 UTC (rev 332944) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Ronald van Haren <ron...@archlinux.org> +# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com> +# Contributor: Kringel + +pkgname=eigen +pkgver=3.3.5 +pkgrel=3 +pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra." +arch=('any') +url='http://eigen.tuxfamily.org' +license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK') +makedepends=('cmake' 'pkg-config' 'freeglut' 'gcc-fortran' 'fftw' 'suitesparse' 'boost') +replaces=('eigen3') +provides=('eigen3') +source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2" + https://github.com/eigenteam/eigen-git-mirror/commit/35e60f60.patch) +sha1sums=('69fd635550bcf8cffbb05740b5baa4608a3870c7' + '0fae36b33bf9f9453a4b5620116bf0f981a24692') + +prepare() { + mkdir -p build + cd eigen-eigen-* + patch -p1 -i ../35e60f60.patch # Fix build of step +} + +build() { + cd build + cmake ../eigen-eigen-* \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + # install custom licenses + install -Dm644 ../eigen-eigen-*/COPYING.MPL2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 ../eigen-eigen-*/COPYING.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 ../eigen-eigen-*/COPYING.MINPACK "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}