mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
30 lines
665 B
Bash
30 lines
665 B
Bash
#
|
|
# 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
|
|
}
|