1 # Maintainer: Kévin Guilloy <kevin at guilloy dot ath dot cx>
5 pkgdesc="Qwt polar is an extension of the Qwt library to support polar plots."
6 arch=('i686' , 'x86_64')
7 url="http://qwtpolar.sourceforge.net/"
8 license=('Qwt License, Version 1.0')
10 conflicts=('qwtpolar')
11 makedepends=('qt subversion')
13 _svntrunk='https://qwtpolar.svn.sourceforge.net/svnroot/qwtpolar/trunk/qwtpolar'
18 svn co $_svntrunk --config-dir ./ $_svnmod
20 msg 'SVN checkout or server timeout'
21 msg 'Building sofware...'
24 sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/doc/\/usr\/share\/doc\/qwt\//' qwtpolarconfig.pri
25 sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' qwtpolarconfig.pri
26 sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/lib/\/usr\/lib\//' qwtpolarconfig.pri
27 sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' qwtpolarconfig.pri
28 sed -i -e 's/^.*QwtPolarDesigner//' qwtpolarconfig.pri
29 sed -i -e 's/^.*QwtPolarExamples//' qwtpolarconfig.pri
30 echo "INCLUDEPATH += /usr/include/qwt" >> qwtpolarbuild.pri
39 cd "$startdir/src/qwtpolar"
41 make INSTALL_ROOT="$pkgdir/" install