1 # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
6 pkgdesc="Stock market, commodity and technical analysis charting application"
7 depends=('qt3>=3.3' 'db>=4.1' 'ta-lib>=0.3.0')
8 url='http://qtstalker.sourceforge.net/'
9 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz qtstalker.desktop)
15 #. /etc/profile.d/qt3.sh
18 export PATH=$QTDIR/bin:$PATH
19 export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH
21 cd $startdir/src/$pkgname-$pkgver
24 grep -rl '/usr/local' * | xargs sed -i -e "s:/usr/local:/usr:g" || return 1
26 #gcc 4.3 no 'system' patch:
27 sed -i -e '36a#include <stdlib.h>\n' lib/UpgradeMessage.cpp || return 1
28 sed -i -e '45a#include <stdlib.h>\n' src/IndicatorPage.cpp || return 1
32 make install INSTALL_ROOT=$startdir/pkg || return 1
34 install -D -m 644 -o root -g root pics/qtstalker.xpm $startdir/pkg/usr/share/pixmaps/qtstalker.xpm || return 1
35 install -D -m 644 -o root -g root ../qtstalker.desktop $startdir/pkg/usr/share/applications/qtstalker.desktop || return 1
38 md5sums=('599589c4e84e828bd888fce6be81dab3'
39 'ef3ab3f9d43440b10aa59515d5368cf9')