1 # Maintainer: Jon Nordby <jononor@gmail.com>
7 pkgdesc="Tool to work with .spec files (for RPM packaging)"
9 url="http://wiki.meego.com/Spectacle"
11 depends=('python2' 'python-cheetah' 'python2-yaml')
18 _gitroot="git://gitorious.org/meego-developer-tools/spectacle.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
40 export PYTHON=/usr/bin/python2
41 make DESTDIR="$pkgdir/" install