diff --git a/community/opencascade/PKGBUILD b/community/opencascade/PKGBUILD index 6605b54af..6c558e9bc 100644 --- a/community/opencascade/PKGBUILD +++ b/community/opencascade/PKGBUILD @@ -11,13 +11,12 @@ highmem=1 pkgname=opencascade pkgver=6.9.1 -pkgrel=1 +pkgrel=2 pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation" arch=('i686' 'x86_64') url="http://www.opencascade.org" license=('custom') -depends=('tk' 'mesa' 'java-runtime' 'libxmu' 'ftgl' 'vtk') -makedepends=('java-environment') +depends=('tk' 'mesa' 'libxmu' 'ftgl' 'vtk6') source=("https://sources.archlinux.org/other/community/opencascade/opencascade-$pkgver.tgz" "env.sh" "opencascade.sh" "opencascade.conf" 'arm.patch') md5sums=('7f2e645b5010d190c9bb35dc457f9a7c' @@ -48,8 +47,7 @@ build() { CXXFLAGS+=' -DvtkFloatingPointType=double' ./configure --disable-debug --enable-production \ - --with-java-include=/usr/lib/jvm/default/include \ - --with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk/ \ + --with-vtk-library=/opt/vtk6/lib/ --with-vtk-include=/opt/vtk6/include/vtk/ \ --prefix=/opt/$pkgname make }