1 # Maintainer: Army <uli armbruster who uses the google mail service>
6 pkgdesc="Real time spectrum analyzer (audio)"
8 url="http://www.uninformativ.de/projects/?q=rtspeccy"
10 depends=('glut' 'alsa-lib' 'fftw')
14 _gitroot="https://github.com/vain/${_gitname}.git"
18 msg "Connecting to GIT server...."
20 if [ -d ${_gitname} ] ; then
21 cd ${_gitname} && git pull origin
22 msg "The local files are updated."
24 git clone ${_gitroot} ${_gitname}
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "${srcdir}/${_gitname}-build"
30 cp -a "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
32 cd "${srcdir}/${_gitname}-build"
33 if test -e $startdir/config.h
35 msg "use custom config.h"
36 cp ${startdir}/config.h .
38 msg "use example config.h"
39 cp config.h.example config.h
45 install -Dm755 "${srcdir}/${_gitname}-build/${_gitname}" "${pkgdir}/usr/bin/${_gitname}"