updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / python2-qt4reactor / PKGBUILD
blobff77f3fa94d251bd2f04c0c31987a6979ca771ee
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 _pkgname=qt4reactor
3 pkgname=python2-qt4reactor
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Integration of Twisted and Qt4"
7 arch=('any')
8 url="https://launchpad.net/qt4reactor"
9 license=('custom:Expat')
10 depends=('python2-pyqt' 'twisted')
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${_pkgname}_$pkgver.orig.tar.gz)
12 md5sums=('a8193bb7eb0165a814aa09a0192cf40b')
14 build() {
15   cd "$srcdir/$_pkgname-$pkgver"
17   python2 setup.py build
20 package() {
21   cd "$srcdir/$_pkgname-$pkgver"
23   python2 setup.py install --root=$pkgdir/ --optimize=1
24   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"