[arch-commits] Commit in eigen/repos/extra-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Apr 17 18:51:13 UTC 2020
Date: Friday, April 17, 2020 @ 18:51:12
Author: arojas
Revision: 380464
archrelease: copy trunk to extra-any
Added:
eigen/repos/extra-any/PKGBUILD
(from rev 380463, eigen/trunk/PKGBUILD)
Deleted:
eigen/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-17 18:50:30 UTC (rev 380463)
+++ PKGBUILD 2020-04-17 18:51:12 UTC (rev 380464)
@@ -1,37 +0,0 @@
-# Maintainer: Ronald van Haren <ronald at archlinux.org>
-# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
-# Contributor: Kringel
-
-pkgname=eigen
-pkgver=3.3.7
-pkgrel=4
-pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
-arch=('any')
-url='https://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::https://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
-sha1sums=('a06faa6f358d5d1ca0da7cddb95da39e436dc9e8')
-
-prepare() {
- mkdir -p build
-}
-
-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 -t "$pkgdir/usr/share/licenses/$pkgname"
- install -Dm644 ../eigen-eigen-*/COPYING.BSD -t "$pkgdir/usr/share/licenses/$pkgname"
- install -Dm644 ../eigen-eigen-*/COPYING.MINPACK -t "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: eigen/repos/extra-any/PKGBUILD (from rev 380463, eigen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-17 18:51:12 UTC (rev 380464)
@@ -0,0 +1,41 @@
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
+# Contributor: Kringel
+
+pkgname=eigen
+pkgver=3.3.7
+pkgrel=5
+pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
+arch=('any')
+url='https://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::https://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2"
+ eigen-c++17.patch::"https://gitlab.com/libeigen/eigen/-/commit/2aa9eb3c.patch")
+sha256sums=('9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce'
+ '241b9363362314f36fa6bfa7182e8d3c38fc2e92855ab1f44c352d8a7c7ad599')
+
+prepare() {
+ mkdir -p build
+
+ cd eigen-eigen-*
+ patch -p1 -i ../eigen-c++17.patch # https://gitlab.com/libeigen/eigen/-/issues/1676
+}
+
+build() {
+ cd build
+ cmake ../eigen-eigen-* \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ # install custom licenses
+ install -Dm644 ../eigen-eigen-*/COPYING.MPL2 -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 ../eigen-eigen-*/COPYING.BSD -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 ../eigen-eigen-*/COPYING.MINPACK -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list