Commit 1a91a341 authored by Roberto Oliveira's avatar Roberto Oliveira

community/eigen: add doc subpackage

parent a12e7895
......@@ -2,7 +2,7 @@
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=eigen
pkgver=3.3.5
pkgrel=0
pkgrel=1
pkgdesc="Eigen is a C++ template library for linear algebra"
url="http://eigen.tuxfamily.org/index.php?title=Main_Page"
arch="noarch"
......@@ -11,7 +11,7 @@ license="MPL-2.0"
depends=""
makedepends=""
install=""
subpackages="$pkgname-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://bitbucket.org/eigen/$pkgname/get/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname"
......@@ -29,6 +29,8 @@ package() {
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="32398be114924ed10ea063bc2b857176bf28b3d5fb915344e972765e3f72e7b72f4a4cee1742e70029e391fdd06f854aa2ab1613b107bd41fbfaf32f0c44463e eigen-3.3.5.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment