4 pkgdesc="The QwtPolar library aims to implement polar functions for Qwt."
5 arch=('i686', 'x86_64')
6 url="http://qwtpolar.sourceforge.net"
7 license=('Qwt License', 'Version 1.0')
10 makedepends=('qwt5' 'qt')
11 source="http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.zip"
12 md5sums="fa03466daefab321b742ca08b03d7685"
15 cd "$srcdir/$pkgname-$pkgver"
17 sed -i -e 's/$$INSTALLBASE\/doc/\/usr\/share\/doc\/qwtpolar\//' qwtpolar.pri
18 sed -i -e 's/$$INSTALLBASE\/include/\/usr\/include\/qwt5\//' qwtpolar.pri
19 sed -i -e 's/$$INSTALLBASE\/lib/\/usr\/lib\//' qwtpolar.pri
21 sed -i -e 's/\/path\/to\/qwt-5.2\/include/\/usr\/include\/qwt5\//' qwtpolar.pri
22 sed -i -e 's/\/path\/to\/qwt-5.2\/lib/\/usr\/lib\//' qwtpolar.pri
24 sed -i -e 's/SUFFIX_STR =/SUFFIX_STR=5/' src/src.pro
26 sed -i -e 's/^.*QwtPolarDesigner//' qwtpolar.pri
27 sed -i -e 's/^.*QwtPolarExamples//' qwtpolar.pri
34 cd "$srcdir/$pkgname-$pkgver"
35 make INSTALL_ROOT="$pkgdir/" install