1 # Maintainer: Kevin Whitaker <eyecreate at gmail dot com>
6 pkgdesc="cmingus is a low priority implementation of the Python music library mingus in C and C++."
8 url="http://github.com/bspaans/cmingus/"
11 makedepends=("fluidsynth")
15 _gitroot="git://github.com/bspaans/cmingus.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
30 sed '28i\#include <stdio.h>' $srcdir/$_gitname/src/mingus_container_tests.cpp > $srcdir/$_gitname/src/mingus_container_tests.cpp.new;mv $srcdir/$_gitname/src/mingus_container_tests.cpp.new $srcdir/$_gitname/src/mingus_container_tests.cpp
31 msg "Starting make..."
34 ./configure --prefix=/usr
36 make DESTDIR=$pkgdir install || return 1