summaryrefslogtreecommitdiff
path: root/community/vtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vtk/PKGBUILD')
-rw-r--r--community/vtk/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD
index 4563c8c34..6b53c1faf 100644
--- a/community/vtk/PKGBUILD
+++ b/community/vtk/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 75604 2012-08-27 13:46:13Z aginiewicz $
+# $Id: PKGBUILD 79495 2012-11-06 06:33:11Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Christofer Bertonha <christoferbertonha at gmail dot com>
@@ -9,8 +9,8 @@
# Contributor: djscholl
pkgname=vtk
-pkgver=5.10.0
-pkgrel=2
+pkgver=5.10.1
+pkgrel=1
pkgdesc='A software system for 3D computer graphics, image processing, and visualization.'
arch=('i686' 'x86_64')
url='http://www.vtk.org/'
@@ -25,13 +25,13 @@ optdepends=('python2: python bindings'
source=("http://www.vtk.org/files/release/${pkgver:0:4}/vtk-${pkgver}.tar.gz"
"http://www.vtk.org/files/release/${pkgver:0:4}/vtkdata-${pkgver}.tar.gz"
ffmpeg-0.8.diff ffmpeg-0.11.diff)
-md5sums=('a0363f78910f466ba8f1bd5ab5437cb9'
- '8c4105b221384154421e7a460adc9c0c'
+md5sums=('264b0052e65bd6571a84727113508789'
+ 'b6355063264cd56bcd1396c92f6ca59a'
'e992321c9d1def6034d0fa6607b40c5a'
'81922ea61989e5591135f233a0400694')
build() {
- cd "${srcdir}"/VTK
+ cd "${srcdir}"/VTK$pkgver
# fix compilation error:
patch -Np1 -i "${srcdir}/ffmpeg-0.8.diff"
@@ -56,7 +56,7 @@ build() {
-Wno-dev \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
- -DVTK_DATA_ROOT:FILEPATH=${srcdir}/VTKData \
+ -DVTK_DATA_ROOT:FILEPATH=${srcdir}/VTKData$pkgver \
-DBUILD_DOCUMENTATION:BOOL=ON \
-DDOCUMENTATION_HTML_HELP:BOOL=ON \
-DDOCUMENTATION_HTML_TARZ:BOOL=ON \
@@ -80,7 +80,7 @@ build() {
-DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \
${cmake_system_flags} \
${cmake_system_python_flags} \
- "${srcdir}/VTK"
+ "${srcdir}/VTK$pkgver"
make
}
@@ -98,7 +98,7 @@ package() {
# Install license
install -dv "${pkgdir}/usr/share/licenses/vtk"
- install -m644 "${srcdir}/VTK/Copyright.txt" \
+ install -m644 "${srcdir}/VTK$pkgver/Copyright.txt" \
"${pkgdir}/usr/share/licenses/vtk"
# Put an entry in /etc/ld.so.conf.d