[arch-commits] Commit in eigen/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 5 15:55:50 UTC 2020
Date: Monday, October 5, 2020 @ 15:55:50
Author: arojas
Revision: 397304
Update to 3.3.8
Modified:
eigen/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-05 15:52:02 UTC (rev 397303)
+++ PKGBUILD 2020-10-05 15:55:50 UTC (rev 397304)
@@ -3,28 +3,18 @@
# Contributor: Kringel
pkgname=eigen
-pkgver=3.3.7
-pkgrel=7
+pkgver=3.3.8
+pkgrel=1
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')
-source=("${pkgname}-${pkgver}.tar.bz2::https://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2"
- eigen-c++17.patch::"https://gitlab.com/libeigen/eigen/-/commit/b3c4344a.patch"
- eigen-c++20.patch::"https://gitlab.com/libeigen/eigen/-/commit/867a7565.patch")
-sha256sums=('9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce'
- '80c1e974e525c3327ae933d6f064c8fb270d8ca99e32369533aacff72ee9cfce'
- '2b1929b165302be43614f86286712402a4cbfa4d176b3cafba9588d1d84dd210')
+source=(https://gitlab.com/libeigen/eigen/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('146a480b8ed1fb6ac7cd33fec9eb5e8f8f62c3683b3f850094d9d5c35a92419a')
-prepare() {
- cd eigen-eigen-*
- patch -p1 -i ../eigen-c++17.patch # https://gitlab.com/libeigen/eigen/-/issues/1676
- patch -p1 -i ../eigen-c++20.patch # https://gitlab.com/libeigen/eigen/-/issues/1833
-}
-
build() {
- cmake -B build -S eigen-eigen-* \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
}
@@ -32,7 +22,5 @@
DESTDIR="$pkgdir" cmake --install build
# 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"
+ install -Dm644 $pkgname-$pkgver/COPYING.* -t "$pkgdir/usr/share/licenses/$pkgname"
}
More information about the arch-commits
mailing list