1 # Contributor: dawn <crackofdusk at gmail ... com>
7 url="http://performous.org"
9 depends=('boost' 'sdl' 'ffmpeg' 'cairo>=1.2' 'librsvg' 'glew' 'libxml++' 'portaudio' 'imagemagick')
10 optdepends=('portmidi: for MIDI drum support' 'opencv: for webcam support')
11 makedepends=('cmake>=2.4' 'git' 'help2man')
13 conflicts=(performous)
17 _gitroot="git://git.performous.org/gitroot/performous/performous"
22 msg "Connecting to GIT server...."
24 if [ -d "$srcdir/$_gitname" ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 # rm -r "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$startdir/src/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
39 cmake -DCMAKE_INSTALL_PREFIX=/usr ${srcdir}/${_gitname} || return 1
41 make DESTDIR="$pkgdir/" install