1 # Contributor: cromo <dawid@klej.net>
5 pkgdesc="A todo-list manager, designed to be simple but powerful."
6 url="http://qtodo.berlios.de/"
14 source=(http://download.berlios.de/qtodo/$pkgname-$pkgver.tar.gz qtodo.desktop)
15 md5sums=('33e5942bfca4629e34a7248f42ba9bd0' '8e3fb4e584c8c07cc2ce7de83522b1df')
18 cd $startdir/src/$pkgname
20 . /etc/profile.d/qt3.sh
22 sed -i -e 's/#include <qstring.h>/#include <cstdlib>\n#include <qstring.h>/g' $srcdir/$pkgname/src/qtodo_misc.h || exit 1
24 ${QTDIR}/bin/qmake -project qtodo.pro
27 install -m755 -D qtodo $startdir/pkg/opt/kde/bin/qtodo
28 install -m644 -D $startdir/qtodo.desktop $startdir/pkg/opt/kde/share/applnk/Office/qtodo.desktop
29 install -m644 -D src/todo_list.xpm $startdir/pkg/opt/kde/share/icons/hicolor/64x64/apps/qtodo.xpm