1 # Contributor: raubkopierer <mail[dot]sensenmann[at]googlemail[dot]com>
2 pkgname=twisted-qt4-git
5 pkgdesc="qt4reactor for the python twisted module"
6 url="http://www.tarbox.org/qtreactor/index.html"
9 depends=('twisted' 'pyqt')
12 _gitroot="git://github.com/ghtdak/qtreactor.git"
17 msg "Connecting to github.com GIT server...."
19 if [ -d ${srcdir}/$_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
30 mkdir ${pkgdir}/usr/lib
31 mkdir ${pkgdir}/usr/lib/python2.6
32 mkdir ${pkgdir}/usr/lib/python2.6/site-packages
33 cp ${srcdir}/${_gitname}/twisted ${pkgdir}/usr/lib/python2.6/site-packages -r
34 cp ${srcdir}/${_gitname}/qt4reactor.py ${pkgdir}/usr/lib/python2.6/site-packages