[arch-commits] Commit in eigen/repos/extra-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Nov 8 20:32:26 UTC 2015
Date: Sunday, November 8, 2015 @ 21:32:26
Author: arojas
Revision: 250216
archrelease: copy trunk to extra-any
Added:
eigen/repos/extra-any/PKGBUILD
(from rev 250215, eigen/trunk/PKGBUILD)
Deleted:
eigen/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-08 20:31:07 UTC (rev 250215)
+++ PKGBUILD 2015-11-08 20:32:26 UTC (rev 250216)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald at archlinux.org>
-# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
-# Contributor: Kringel
-
-pkgname=eigen
-pkgver=3.2.7
-pkgrel=1
-pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
-arch=('any')
-url='http://eigen.tuxfamily.org'
-license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK')
-makedepends=('cmake' 'pkg-config' 'freeglut' 'gcc-fortran' 'qt4' 'fftw')
-optdepends=('qt4: for example programs')
-replaces=('eigen3')
-provides=('eigen3')
-source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
-sha1sums=('6e22013ada087bc8ac07bcc0805c3dbb55f8e544')
-
-build() {
- mkdir -p build
- cd build
- cmake ../eigen-eigen-* \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-
- # install custom licenses
- install -Dm644 ../eigen-eigen-*/COPYING.MPL2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 ../eigen-eigen-*/COPYING.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 ../eigen-eigen-*/COPYING.MINPACK "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: eigen/repos/extra-any/PKGBUILD (from rev 250215, eigen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-08 20:32:26 UTC (rev 250216)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
+# Contributor: Kringel
+
+pkgname=eigen
+pkgver=3.2.7
+pkgrel=2
+pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
+arch=('any')
+url='http://eigen.tuxfamily.org'
+license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK')
+makedepends=('cmake' 'pkg-config' 'freeglut' 'gcc-fortran' 'qt4' 'fftw')
+optdepends=('qt4: for example programs')
+replaces=('eigen3')
+provides=('eigen3')
+source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
+sha1sums=('6e22013ada087bc8ac07bcc0805c3dbb55f8e544')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../eigen-eigen-* \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DEIGEN_INCLUDE_INSTALL_DIR=/usr/include/eigen3
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ # install custom licenses
+ install -Dm644 ../eigen-eigen-*/COPYING.MPL2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../eigen-eigen-*/COPYING.BSD "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../eigen-eigen-*/COPYING.MINPACK "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list