1 # Maintainer: CHEN Xing cxcxcxcx [funnychar] gmail com
6 pkgdesc="A library for audio labelling"
10 url="http://aubio.org/"
12 depends=('libsamplerate' 'fftw' 'jack')
15 _gitroot="git://git.aubio.org/git/aubio/"
21 msg "Connecting to GIT server...."
23 if [ -d ${_gitname}/.git ] ; then
26 # Change remote url to anongit
27 if [ -z $( git branch -v | grep anongit ) ] ; then
28 git remote set-url origin ${_gitroot}
32 msg "The local files are updated."
34 git clone ${_gitroot} ${_gitname}
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
39 cd "${srcdir}/${_gitname}"
41 ./configure --prefix=/usr --with-gnu-ld PYTHON=/usr/bin/python2 # LDFLAGS=-lm
46 cd "${srcdir}/${_gitname}"
47 make DESTDIR="${pkgdir}" install