[arch-commits] Commit in cgal/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Mon Jan 19 22:21:14 UTC 2015


    Date: Monday, January 19, 2015 @ 23:21:13
  Author: kkeen
Revision: 126251

upgpkg: cgal 4.5.1-2

Modified:
  cgal/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-19 21:51:59 UTC (rev 126250)
+++ PKGBUILD	2015-01-19 22:21:13 UTC (rev 126251)
@@ -4,9 +4,8 @@
 
 pkgname=cgal
 pkgver=4.5.1
-_dumbver=4.5
-pkgrel=1
-_pkgid=34139
+pkgrel=2
+_pkgid=34403
 pkgdesc="Computational Geometry Algorithms Library"
 arch=('i686' 'x86_64')
 url="http://www.cgal.org"
@@ -16,12 +15,12 @@
 optdepends=('qt4: for CGAL_Qt4'
             'eigen: for some packages, see the CGAL manual')
 makedepends=('cmake' 'qt4' 'eigen' 'boost')
-md5sums=('1e79eff0897149c4f0ec85d912cfa82c')
+md5sums=('3e413f2b3d791f88ea9177cfdf4dbb60')
 
 # consider building with swig for python stuff
 
 build() {
-  cd "$srcdir/CGAL-$_dumbver"
+  cd "$srcdir/CGAL-$pkgver"
   mkdir build
   cd build
   cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
@@ -29,12 +28,12 @@
 }
 
 package() {
-  cd "$srcdir/CGAL-$_dumbver/build"
+  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-$_dumbver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"
+    install -D -m644 "$srcdir/CGAL-$pkgver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"
   done
 }
 



More information about the arch-commits mailing list