blob: 591d548426131e48834434edc7a057d63eeee3e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=eigen
pkgver=3.3.7
pkgrel=0
pkgdesc="Eigen is a C++ template library for linear algebra"
url="http://eigen.tuxfamily.org/index.php?title=Main_Page"
arch="noarch"
options="!check" # Headers-only: no tests are possible.
license="MPL-2.0"
depends=""
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://bitbucket.org/eigen/$pkgname/get/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname"
build() {
return 0
}
prepare() {
mv "$builddir"-* "$builddir" # directory name contains hash
default_prepare
}
package() {
mkdir -p "$pkgdir"/usr/include/eigen3
cp -r "$builddir"/Eigen "$pkgdir"/usr/include/eigen3
cp -r "$builddir"/unsupported "$pkgdir"/usr/include/eigen3
cp "$builddir"/signature_of_eigen3_matrix_library "$pkgdir"/usr/include/eigen3
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
cp -r "$builddir"/doc/ "$pkgdir"/usr/share/doc/$pkgname
}
sha512sums="34cf600914cce719d61511577ef9cd26fbdcb7a6fad1d0ab8396f98b887fac6a5577d3967e84a8f56225cc50de38f3b91f34f447d14312028383e32b34ea1972 eigen-3.3.7.tar.gz"
|