diff options
author | root <root@rshg054.dnsready.net> | 2012-02-19 23:15:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-19 23:15:25 +0000 |
commit | 81ee1980feda43043eaebae2c596ae116a21f6e5 (patch) | |
tree | 5a48e15abb2f2d299a6c08bf44e1b136ae6a7fb8 /extra/qhull | |
parent | 1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (diff) |
Sun Feb 19 23:15:25 UTC 2012
Diffstat (limited to 'extra/qhull')
-rw-r--r-- | extra/qhull/PKGBUILD | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/extra/qhull/PKGBUILD b/extra/qhull/PKGBUILD index ebd94380f..6f55425e6 100644 --- a/extra/qhull/PKGBUILD +++ b/extra/qhull/PKGBUILD @@ -1,49 +1,37 @@ -# $Id: PKGBUILD 120895 2011-04-27 06:52:39Z ronald $ +# $Id: PKGBUILD 150554 2012-02-18 13:03:41Z pierre $ # Maintainer: Ronald van Haren <ronald@archlinux.org> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Jason Taylor <jftaylor21@gmail.com> # Contributor: Darwin Bautista <djclue917@gmail.com> pkgname=qhull -pkgver=2010.1 +pkgver=2012.1 pkgrel=1 pkgdesc="A general dimension code for computing convex hulls and related structures" arch=('i686' 'x86_64') url="http://www.qhull.org/" license=('custom') -depends=('glibc') +depends=('gcc-libs') makedepends=('cmake') -source=(http://www.qhull.org/download/$pkgname-$pkgver-src.tgz - qhull-2010.1-cmake-install.patch - qhull-2010.1-overflows.patch) +source=("http://www.qhull.org/download/$pkgname-$pkgver-src.tgz") options=('!libtool') -sha1sums=('ed480912e03efdd767195c06c7e8c252c78112b1' - '0a7747eb13c2e07c25882c1f0f5c0dfb4ef1c8c0' - '21295d57af2f8cdfc775512fa44fe90f49d89c41') +md5sums=('ed81aa19b203aa0fdb75b41fe6f7a40f') build() { cd "$srcdir/$pkgname-$pkgver" - # gentoo patches - patch -Np1 -i ${srcdir}/qhull-2010.1-cmake-install.patch - patch -Np1 -i ${srcdir}/qhull-2010.1-overflows.patch - - [ -d build ] || mkdir build - cd build + mkdir srcbuild + cd srcbuild cmake -DCMAKE_INSTALL_PREFIX=/usr -DDOC_INSTALL_DIR=/usr/share/doc \ - -DLIB_INSTALL_DIR=/usr/lib .. + -DMAN_INSTALL_DIR=/usr/share/man/man1 -DLIB_INSTALL_DIR=/usr/lib .. make } package() { - cd "$srcdir/$pkgname-$pkgver/build" + cd "$srcdir/$pkgname-$pkgver/srcbuild" make DESTDIR=$pkgdir install - # install manpages - install -Dm644 $srcdir/$pkgname-$pkgver/html/rbox.man $pkgdir/usr/share/man/man1/rbox.1 - install -Dm644 $srcdir/$pkgname-$pkgver/html/qhull.man $pkgdir/usr/share/man/man1/qhull.1 - # Install license install -Dm644 $srcdir/$pkgname-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" } |