1 # Maintainer: Army <uli armbruster who uses the google mail service>
3 pkgname=paulstretch-git
7 pkgdesc="a program for stretching the audio"
9 url="http://hypermammut.sourceforge.net/paulstretch/"
11 depends=('fltk' 'fftw' 'portaudio' 'mxml' 'libmad' 'libvorbis' 'audiofile')
13 provides=('paulstretch')
14 conflicts=('paulstretch')
16 _gitroot="https://github.com/paulnasca/paulstretch_cpp.git"
17 _gitname="${_pkgname}"
21 msg "Connecting to GIT server...."
23 if [ -d ${_gitname} ] ; then
24 cd ${_gitname} && git pull origin
25 msg "The local files are updated."
27 git clone ${_gitroot} ${_gitname}
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "${srcdir}/${_gitname}-build"
33 cp -a "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
34 cd "${srcdir}/${_gitname}-build"
36 sed -i '23i#include <string.h>' Input/MP3InputS.cpp
37 ./compile_linux_fftw.sh
41 install -Dm755 "${srcdir}/${_gitname}-build/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"