Date: Monday, February 10, 2014 @ 05:57:25 Author: kkeen Revision: 105550
archrelease: copy trunk to community-i686, community-x86_64 Added: cgal/repos/community-i686/ cgal/repos/community-i686/PKGBUILD (from rev 105549, cgal/trunk/PKGBUILD) cgal/repos/community-x86_64/ cgal/repos/community-x86_64/PKGBUILD (from rev 105549, cgal/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) Copied: cgal/repos/community-i686/PKGBUILD (from rev 105549, cgal/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-02-10 04:57:25 UTC (rev 105550) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Dmitriy Morozov <foxcub> + +pkgname=cgal +pkgver=4.3 +pkgrel=2 +_pkgid=32995 +pkgdesc="Computational Geometry Algorithms Library" +arch=('i686' 'x86_64') +url="http://www.cgal.org" +license=('GPL' 'LGPL') +source=(http://gforge.inria.fr/frs/download.php/$_pkgid/CGAL-$pkgver.tar.xz) +depends=('mpfr' 'boost-libs' 'gmp' 'mesa' 'glu') +optdepends=('qt4: for CGAL_Qt4' + 'eigen: for some packages, see the CGAL manual') +makedepends=('cmake' 'qt4' 'eigen' 'boost') +md5sums=('c0af5e3a56300b0c92ebd3a1f0df9149') + +# consider building with swig for python stuff + +build() { + cd "$srcdir/CGAL-$pkgver" + mkdir build + cd build + cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/CGAL-$pkgver/build" + make install DESTDIR="$pkgdir" + + # The tarball still has all theese licenses included + for _license in LICENSE{,.FREE_USE,.GPL,.LGPL}; do + install -D -m644 "$srcdir/CGAL-$pkgver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license" + done +} Copied: cgal/repos/community-x86_64/PKGBUILD (from rev 105549, cgal/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-02-10 04:57:25 UTC (rev 105550) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Dmitriy Morozov <foxcub> + +pkgname=cgal +pkgver=4.3 +pkgrel=2 +_pkgid=32995 +pkgdesc="Computational Geometry Algorithms Library" +arch=('i686' 'x86_64') +url="http://www.cgal.org" +license=('GPL' 'LGPL') +source=(http://gforge.inria.fr/frs/download.php/$_pkgid/CGAL-$pkgver.tar.xz) +depends=('mpfr' 'boost-libs' 'gmp' 'mesa' 'glu') +optdepends=('qt4: for CGAL_Qt4' + 'eigen: for some packages, see the CGAL manual') +makedepends=('cmake' 'qt4' 'eigen' 'boost') +md5sums=('c0af5e3a56300b0c92ebd3a1f0df9149') + +# consider building with swig for python stuff + +build() { + cd "$srcdir/CGAL-$pkgver" + mkdir build + cd build + cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/CGAL-$pkgver/build" + make install DESTDIR="$pkgdir" + + # The tarball still has all theese licenses included + for _license in LICENSE{,.FREE_USE,.GPL,.LGPL}; do + install -D -m644 "$srcdir/CGAL-$pkgver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license" + done +}