desktop/eigen3/PKGBUILD

30 lines
665 B
Bash
Raw Normal View History

#
# Apps Packages for Chakra, part of chakra-project.org
#
pkgname=eigen3
pkgver=3.0.5
pkgrel=1
pkgdesc="Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
arch=('any')
url='http://eigen.tuxfamily.org'
license=('GPL' 'LGPL')
makedepends=('cmake' 'pkgconfig')
source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
md5sums=('43070952464a5bf21694e082e7fb8fce')
build() {
cd $srcdir
mkdir -p build
cd build
cmake ../eigen-eigen-6e7488e20373 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}