desktop/support-pkg-qhull/PKGBUILD

35 lines
912 B
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qhull
pkgver=2003.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')
source=(http://www.qhull.org/download/qhull-$pkgver.tar.gz)
md5sums=('48228e26422bff85ef1f45df5b6e3314')
options=('!libtool')
build() {
cd "$srcdir/$pkgname-$pkgver"
CFLAGS="$CFLAGS -fno-strict-aliasing"
./configure --prefix=/usr --disable-debug
make || return 1
make DESTDIR="$pkgdir" install
# Install license
install -D -m644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}