updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / k3d / PKGBUILD
blob1fb541382bf9707d65f9b5588ffdc0862945082d
1 # $Id: PKGBUILD,v 1.5 2008/05/30 11:51:52 kth5 Exp $
2 # x86 Contributor: Gino Pezzin <pezzin@gmail.com>
3 pkgname=k3d
4 pkgver=0.8.0.1
5 pkgrel=1
6 pkgdesc="k-3d is a complete free-as-in-freedom 3D modeling, animation and rendering system."
7 url="http://www.k-3d.org/"
8 arch=('x86_64' 'i686')
9 license="GPL"
10 depends=('expat' 'libxml2' 'gtkmm' 'gtkglext' 'libsigc++' 'python' 'imagemagick' 'openexr' \
11          'freetype2' 'libtiff' 'graphviz' 'mesa' 'libgnome')
12 makedepends=('pkgconfig' 'cmake' 'doxygen')
13 options=('!libtool')
14 source=(http://downloads.sourceforge.net/sourceforge/k3d/${pkgname}-source-${pkgver}.tar.gz \
15         k3d.desktop libpng.patch gtk_combobox.patch gcc-4.6.patch)
17 build() {
18   cd ${srcdir}/${pkgname}-source-${pkgver}
19   patch -Np1 -i ${srcdir}/libpng.patch
20   patch -Np1 -i ${srcdir}/gcc-4.6.patch
21   patch -Np1 -i ${srcdir}/gtk_combobox.patch
23   mkdir ourbuild
24   cd ourbuild
25   cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
26         -DSYSCONF_INSTALL_DIR=/etc \
27         -DK3D_IMAGEMAGICK_INCLUDE_DIR=/usr/include/ImageMagick
28   make || return 1
29   make DESTDIR=${pkgdir} install
30   install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
32 md5sums=('28e506c42d609ae89ef18a393980deb1'
33          '1ee5960bd6dc219a3ec186abfae1934c'
34          '75a596105450842b4dd7eec77dc1c592'
35          '1210a07b34fb25da41b2c2b918f27c8d'
36          '62f17c529924b25722abad30aaa6f0b2')