Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

cgal-4.0-3 PKGBUILD

By: a guest on Mar 15th, 2012  |  syntax: Bash  |  size: 0.58 KB  |  hits: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname='cgal'
  2. pkgver='4.0'
  3. pkgrel='3'
  4. pkgdesc='Computational Geometry Algorithms Library'
  5. arch=('i686' 'x86_64')
  6. url='http://www.cgal.org'
  7. license=('GPL' 'LGPL')
  8. depends=('boost' 'gmp' 'mpfr')
  9. optdepends=('qt: for CGAL_Qt4')
  10. makedepends=('cmake' 'xz')
  11. source=("http://gforge.inria.fr/frs/download.php/30385/CGAL-${pkgver}.tar.xz")
  12. md5sums=('ba500e8f853e0addebd04acea5cac072')
  13.  
  14. build() {
  15.         cd "${srcdir}/CGAL-${pkgver}"
  16.         cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
  17.         make
  18. }
  19.  
  20. package() {
  21.         cd "${srcdir}/CGAL-${pkgver}"
  22.         make install DESTDIR="${pkgdir}"
  23. }