1 # Maintainer: Santiago Piccinini <gringotumadre at gmail dot com>
3 pkgname=clam-networkeditor
6 pkgdesc="tool for editing CLAM processing networks"
8 url="http://clam-project.org"
10 depends=('clam>=1.4.0' 'qt' 'mesa')
11 makedepends=('gcc' 'scons')
12 optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]')
13 source=(http://clam-project.org/download/src/NetworkEditor-${pkgver}.tar.gz
16 md5sums=('79663504041b9f9ce21d0e382f23c6f9'
17 '36a462459488aba514507ac850dbd7f3'
18 '5a694372009aacdacb794a46e752f38c')
21 install -d $pkgdir/usr
22 cd $srcdir/NetworkEditor-$pkgver
23 patch -p0 < $startdir/SConstruct.patch || return 1
24 patch -p1 < $startdir/gcc-4.5.patch || return 1
25 QTDIR=/usr/lib/qt scons install prefix=$pkgdir/usr \
27 qt_plugins_install_path=/usr/lib/qt/plugins/designer \
28 release=1 verbose=1 || return 1
30 mv $pkgdir/usr/usr/lib/qt/ $pkgdir/usr/lib/
31 rmdir $pkgdir/usr/usr/lib $pkgdir/usr/usr