summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-04-06 17:19:09 +0200
committerMichel Zou2020-04-06 17:19:09 +0200
commit3a0ea2ef67bee9e8e4c033de73aef38691ac415a (patch)
tree54c78a71467d45017c2157f731423b547a44cd30
parent2c5293a8df183f3da9861e44a08d22e4a7a4b6ad (diff)
downloadaur-mingw-w64-eigen.tar.gz
fix cmake config
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8f9f1f6c08..b2bd6e29406 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-eigen
pkgdesc = Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra. (mingw-w64)
pkgver = 3.3.7
- pkgrel = 2
+ pkgrel = 3
url = http://eigen.tuxfamily.org
arch = any
license = MPL2
diff --git a/PKGBUILD b/PKGBUILD
index 8e5107b436a..25ab88376cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,6 @@
-# Contributor: jellysheep <max.mail@dameweb.de>
-
pkgname=mingw-w64-eigen
pkgver=3.3.7
-pkgrel=2
+pkgrel=3
pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra. (mingw-w64)"
arch=('any')
url='http://eigen.tuxfamily.org'
@@ -26,7 +24,7 @@ build() {
cd "$srcdir"/eigen-eigen-*
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
- ${_arch}-cmake -DINCLUDE_INSTALL_DIR=/usr/${_arch}/include/eigen3 ..
+ ${_arch}-cmake -DINCLUDE_INSTALL_DIR:PATH="include/eigen3" ..
make
popd
done