From 6654a1a1fdd5917bce89a813b45d669657eca67f Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 5 Mar 2018 09:12:44 -0300 Subject: [PATCH] cgal: update to 4.11.1. Closes: #12168 [via git-merge-pr] --- srcpkgs/cgal/template | 22 ++++++++-------------- srcpkgs/cgal/update | 1 + 2 files changed, 9 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/cgal/update diff --git a/srcpkgs/cgal/template b/srcpkgs/cgal/template index 82c1cd1182d..2f5749f2495 100644 --- a/srcpkgs/cgal/template +++ b/srcpkgs/cgal/template @@ -1,24 +1,18 @@ # Template file for 'cgal' - -pkgname="cgal" -version="4.10" -revision=3 +pkgname=cgal +version=4.11.1 +revision=1 +wrksrc="CGAL-${version}" build_style=cmake +makedepends="boost-devel eigen gmp-devel mpfr-devel" short_desc="Computational Geometry Algorithms Library" maintainer="Pierre Allegraud " license="GPL-3, LGPL-3" homepage="http://www.cgal.org" -distfiles="https://github.com/CGAL/cgal/archive/releases/CGAL-${version}.tar.gz" -checksum=cff3081453a4b4e738ca90d3ce70ddd888b8a23e8acb735a4917653ad51b3045 -wrksrc="cgal-releases-CGAL-${version}" +distfiles="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-${version}/CGAL-${version}.tar.xz" +checksum=fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b nocross=yes -makedepends="boost-devel eigen gmp-devel mpfr-devel" - -post_install() { - vbin ./Scripts/scripts/cgal_create_cmake_script -} - cgal-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}" @@ -26,7 +20,7 @@ cgal-devel_package() { vmove usr/bin/cgal_create_cmake_script vmove usr/share/man/man1/cgal_create_cmake_script.1 vmove usr/include - vmove usr/lib/*.so + vmove "usr/lib/*.so" vmove usr/lib/CGAL } } diff --git a/srcpkgs/cgal/update b/srcpkgs/cgal/update new file mode 100644 index 00000000000..43949b5d9a4 --- /dev/null +++ b/srcpkgs/cgal/update @@ -0,0 +1 @@ +pattern="releases/CGAL-\K[\d\.]*(?=\.tar\.gz)"