updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / python-screed-git / PKGBUILD
blob9961c3e596a6981ba9fe75dfbffe47a35bf6e569
1 # Contributor: Yerko Escalona <yescalona[at]ug[dot]uchile[dot]cl>
3 pkgname=python-screed-git
4 pkgver=20101121
5 pkgrel=1
6 pkgdesc="Indexing and retrieving lots of (biological) sequences, quickly"
7 arch=('any')
8 license=('BSD')
9 depends=('python2')
10 makedepends=('git')
11 url="http://github.com/acr/screed"
13 _gitroot="git://github.com/acr/screed.git"
14 _gitname="screed"
16 build() {
17   cd $srcdir
18   msg "Connecting to the GIT server...."
19   
20   if [[ -d $srcdir/$_gitname ]] ; then
21     cd $_gitname
22     git pull origin
23     msg "The local files are updated."
24   else
25     git clone $_gitroot
26   fi
27   
28   msg "GIT checkout done"
29   msg "Starting make..."
30   
31   rm -rf $srcdir/$_gitname-build
32   git clone $srcdir/$_gitname $srcdir/$_gitname-build
33   
34   cd $srcdir/$_gitname-build
35   python2 setup.py install --root=$pkgdir/ --optimize=1