[arch-commits] Commit in eigen/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Tue Jul 15 22:54:17 UTC 2008


    Date: Tuesday, July 15, 2008 @ 18:54:17
  Author: pierre
Revision: 5405

upgpkg: eigen 1.0.5-1

Modified:
  eigen/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-15 22:48:19 UTC (rev 5404)
+++ PKGBUILD	2008-07-15 22:54:17 UTC (rev 5405)
@@ -2,27 +2,23 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=eigen
-pkgver=1.0.5.svn832055
+pkgver=1.0.5
 pkgrel=1
 pkgdesc="Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
 arch=('i686' 'x86_64')
-url="http://eigen.tuxfamily.org/"
-license=('GPL2')
-depends=()
+url='http://eigen.tuxfamily.org/1/'
+license=('GPL')
 makedepends=('cmake' 'pkgconfig')
-# svn snapshot: svn export svn://anonsvn.kde.org/home/kde/trunk/kdesupport/eigen
-source=(ftp://ftp.archlinux.org/other/eigen/$pkgname-$pkgver.tar.bz2
-	#http://kent.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
-	)
-options=(!libtool)
+source=("http://download.tuxfamily.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('960d7e5fb6542270eae4d53ca99b607c')
 
 build() {
-  # start building
-  cd $startdir/src/$pkgname
-
-  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-
-  make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
-}
-md5sums=('a81da8a81c98f69cdc03eaae8b6f0706')
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
+}
\ No newline at end of file





More information about the arch-commits mailing list