blob: 246ba500a4c54cdfefc5aad0e5b444af950d509d (
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
|
# $Id: PKGBUILD 204732 2014-01-26 09:43:39Z ronald $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=eigen2
_pkgver=8ebe822a204cea8424d96cc0d9886529d3d1a46b
pkgver=2.0.17
pkgrel=6
pkgdesc="A lightweight C++ template library for vector and matrix math, a.k.a. linear algebra"
arch=('any')
url='http://eigen.tuxfamily.org/index.php?title=Main_Page'
license=('GPL' 'LGPL3')
makedepends=('cmake' 'pkg-config')
source=("https://gitlab.com/libeigen/eigen/-/archive/${pkgver}/eigen-${pkgver}.tar.gz")
sha1sums=('fb18d990d142ee77cb3f2166219246f7e70103fc')
build() {
cmake -S "$srcdir/${pkgname%2}-$pkgver" -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make -C build
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|