updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pyevent / PKGBUILD
blobc0cf144d28ead43b130e89ff19b80daecce67016
1 # Contributor: Vincent Delft  <vincent_delft ][ yahoo.com>
2 arch=('i686')
3 pkgname=pyevent
4 pkgver='0.3'
5 pkgrel=1
6 pkgdesc="python interface to libevent"
7 url="http://code.google.com/p/pyevent/"
8 license="BSD"
9 depends=('pyrex' 'libevent')
10 source=('http://pyevent.googlecode.com/files/pyevent-0.3.tar.gz')
12 md5sums=('584912c92d08bf005283fb29a47a6e4d')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   #we just remove he generated .c files
17   make distclean
18   #we generate the .c files and compile it
19   make || return 1
20   python setup.py install --root=$startdir/pkg || return 1