[arch-commits] Commit in cgal/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Sat Apr 11 15:28:48 UTC 2015
Date: Saturday, April 11, 2015 @ 17:28:48
Author: kkeen
Revision: 131168
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 131167, cgal/trunk/PKGBUILD)
cgal/repos/community-staging-x86_64/
cgal/repos/community-staging-x86_64/PKGBUILD
(from rev 131167, cgal/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: cgal/repos/community-staging-i686/PKGBUILD (from rev 131167, cgal/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-04-11 15:28:48 UTC (rev 131168)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dmitriy Morozov <foxcub>
+
+pkgname=cgal
+pkgver=4.6
+pkgrel=1
+_pkgid=34705
+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=('65fa7e17cd654ef68da47df608000007')
+
+# 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 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 131167, cgal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-04-11 15:28:48 UTC (rev 131168)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dmitriy Morozov <foxcub>
+
+pkgname=cgal
+pkgver=4.6
+pkgrel=1
+_pkgid=34705
+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=('65fa7e17cd654ef68da47df608000007')
+
+# 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 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
+}
+
More information about the arch-commits
mailing list