desktop/sfcgal/PKGBUILD

30 lines
905 B
Bash
Raw Normal View History

2015-12-07 02:36:17 +08:00
# Arch contribution: https://aur4.archlinux.org/packages/sfcgal/
pkgname=sfcgal
2016-03-26 04:02:23 +08:00
pkgver=1.3.0
2016-03-26 04:21:15 +08:00
pkgrel=2
pkgdesc="Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models"
arch=('x86_64')
url="http://oslandia.github.io/SFCGAL/index.html"
license=('GPL')
2015-12-07 02:36:17 +08:00
depends=('cgal' 'boost' 'gmp' 'mpfr' 'openscenegraph' 'qt' 'postgresql')
makedepends=('cmake')
source=("https://github.com/Oslandia/SFCGAL/archive/v$pkgver.tar.gz")
2016-03-26 04:02:23 +08:00
sha256sums=('7ed35439fc197e73790f4c3d1c1750acdc3044968769239b2185a7a845845df3')
build() {
cd $srcdir/SFCGAL-$pkgver
cmake -Wno-dev \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DSFCGAL_BUILD_VIEWER=1 \
-DSFCGAL_BUILD_EXAMPLES=1 \
-DSFCGAL_BUILD_TEST=1 .
make
}
package() {
cd $srcdir/SFCGAL-$pkgver
make DESTDIR=$pkgdir install
rm -rf $pkgdir/usr/include/CGAL
}