Date: Tuesday, September 20, 2016 @ 11:18:48
  Author: kkeen
Revision: 190046

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cgal/repos/community-staging-i686/
  cgal/repos/community-staging-i686/PKGBUILD
    (from rev 190045, cgal/trunk/PKGBUILD)
  cgal/repos/community-staging-x86_64/
  cgal/repos/community-staging-x86_64/PKGBUILD
    (from rev 190045, cgal/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: cgal/repos/community-staging-i686/PKGBUILD (from rev 190045, 
cgal/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-09-20 11:18:48 UTC (rev 190046)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keen...@gmail.com>
+# Contributor: Dmitriy Morozov <foxcub>
+
+pkgname=cgal
+pkgver=4.9
+pkgrel=1
+pkgdesc="Computational Geometry Algorithms Library"
+arch=('i686' 'x86_64')
+url="http://www.cgal.org";
+license=('GPL' 'LGPL')
+source=("https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$pkgver/CGAL-$pkgver.tar.xz";)
+depends=('mpfr' 'gmp' 'mesa' 'glu' 'boost-libs')
+optdepends=('qt5-svg: for CGAL_Qt5'
+            'eigen: for some packages, see the CGAL manual')
+makedepends=('cmake' 'qt5-svg' 'eigen' 'boost')
+md5sums=('ee31343dbc4bf7b5b7501ec1650e9233')
+
+# consider building with swig for python stuff
+# https://gforge.inria.fr/frs/?group_id=52  for _pkgid
+
+# 4.8 supposedly does not depend on boost?  good luck...
+
+build() {
+  cd "$srcdir/CGAL-$pkgver"
+  mkdir -p 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 these 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-staging-x86_64/PKGBUILD (from rev 190045, 
cgal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-09-20 11:18:48 UTC (rev 190046)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keen...@gmail.com>
+# Contributor: Dmitriy Morozov <foxcub>
+
+pkgname=cgal
+pkgver=4.9
+pkgrel=1
+pkgdesc="Computational Geometry Algorithms Library"
+arch=('i686' 'x86_64')
+url="http://www.cgal.org";
+license=('GPL' 'LGPL')
+source=("https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$pkgver/CGAL-$pkgver.tar.xz";)
+depends=('mpfr' 'gmp' 'mesa' 'glu' 'boost-libs')
+optdepends=('qt5-svg: for CGAL_Qt5'
+            'eigen: for some packages, see the CGAL manual')
+makedepends=('cmake' 'qt5-svg' 'eigen' 'boost')
+md5sums=('ee31343dbc4bf7b5b7501ec1650e9233')
+
+# consider building with swig for python stuff
+# https://gforge.inria.fr/frs/?group_id=52  for _pkgid
+
+# 4.8 supposedly does not depend on boost?  good luck...
+
+build() {
+  cd "$srcdir/CGAL-$pkgver"
+  mkdir -p 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 these 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
+}
+

Reply via email to