updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / pyjacksm-git / PKGBUILD
blob1d9ab9960bff2cf6df002887711ecce7f0305c0f
1 # Maintainer: Philipp Überbacher <murks at lavabit dot com>
2 pkgname=pyjacksm-git
3 pkgver=20100514
4 pkgrel=1
5 pkgdesc="A simple manager for jack-session"
6 arch=('any')
7 url="http://trac.jackaudio.org/wiki/WalkThrough/User/jack_session"
8 license=('GPL')
9 depends=('python')
10 makedepends=('git')
11 provides=('pyjacksm')
13 _gitroot="git://hochstrom.endofinternet.org/pyjacksm.git"
14 _gitname="pyjacksm"
16 build() {
17   cd "$srcdir"
18   msg "Connecting to GIT server...."
20   if [ -d $_gitname ] ; then
21     cd $_gitname && git pull origin
22     msg "The local files are updated."
23   else
24     git clone $_gitroot $_gitname
25   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
30   rm -rf "$srcdir/$_gitname-build"
31   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32   cd "$srcdir/$_gitname-build"
34   #
35   # BUILD HERE
36   #
37    
38   python setup.py install --root=$pkgdir/ --optimize=1 || return 1
39