updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / pydbgp-git / PKGBUILD
blobd4fc5bb03b1636412a595d0346a198e97663c55d
1 # Maintainer: Yerko Escalona <yescalona.at.uchile.dot.ug.dot.cl>
3 pkgname=pydbgp-git
4 pkgver=20101121
5 pkgrel=1
6 pkgdesc="A fork of Activestate's PyDBGp server."
7 arch=('any')
8 license=('MIT')
9 depends=('python2')
10 makedepends=('git')
11 url="http://jabapyth.github.com/pydbgp/"
12 source=()
13 md5sums=()
15 _gitroot="git://github.com/jabapyth/pydbgp"
16 _gitname="pydbgp"
18 build() {
19   cd ${srcdir}
21   msg "Connecting to GIT server..."
22   if [[ -d ${_gitname} ]]; then
23     (cd ${_gitname} && git pull origin)
24   else
25     git clone ${_gitroot} ${_gitname}
26   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
30   rm -rf ${_gitname}-build
31   git clone ${_gitname} ${_gitname}-build
33   cd ${srcdir}/${_gitname}-build
36 package() {
37   cd ${srcdir}/${_gitname}-build
38   python2 setup.py install --root=$pkgdir/ --optimize=1