1 # Maintainer: K?vin Guilloy <kevin@guilloy.ath.cx>
3 pkgname=qtcreator-todo-plugin-git
6 pkgdesc="Collection of actions to improve productivity while writing code"
8 url="http://gitorious.org/creator-plugins"
10 depends=('qt' 'qtcreator=2.4.0')
11 makedepends=('git' 'qtcreator-src=2.4.0')
12 source=('uptodate.patch')
13 sha256sums=('93868fb770063e5ff8f266a1b4d25c9b448c5e760e46a51edbfdcd35563a04ca')
15 _gitroot="git://gitorious.org/qt-creator-todo-plugin/qt-creator-todo-plugin.git"
16 _gitname="todo-plugin"
20 git clone $_gitroot $_gitname --depth=1
21 msg "Git checkout done or server timeout"
23 patch -p0 < uptodate.patch
27 mkdir -p $startdir/pkg/usr/lib/qtcreator/plugins/vsorokin
28 sed -i -e 's/\/home\/vass\/qt-creator/\/usr\/src\/qtcreator/' todoplugin.pro
29 echo "LIBS += -L/usr/lib/qtcreator -L/usr/lib/qtcreator/plugins/Nokia" >> todoplugin.pro
31 sed -i -e "s/\/opt\/qtcreator-2.1.81/\/usr/" todoplugin.pro
32 sed -i -e "s/\$\$QTC_BUILD_DIR\/lib\/qtcreator\/plugins\/\$\$(PROVIDER)/..\/..\/pkg\/usr/" todoplugin.pro
33 sed -i -e "s/\$\$QTC_BUILD_DIR/..\/..\/pkg\/usr/" todoplugin.pro
35 sed -i -e "s/2\.1\.81/2\.4\.0/" todo.pluginspec