1 # Contributor: Bruno Gomes <bgomes@opens1.com>, Lucas Castro <lucas@opens1.com>
3 pkgname=python-pyfprint-git
6 pkgdesc="Python bindings for the libfprint fingerprinting library"
7 url="http://repo.or.cz/w/pyfprint.git"
10 depends=('python' 'libfprint' 'swig' )
19 _gitroot="git://repo.or.cz/pyfprint.git"
24 msg "Connecting to git://repo.or.cz/pyfprint.git GIT server...."
26 if [ -d ${srcdir}/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 cd ${srcdir}/$_gitname
37 swig -python pyfprint/pyfprint_swig.i
38 python setup.py install --root=${pkgdir}