2 # software-defined radio, using Gtk+ GUI and jack audio IO
3 # Maintainer: Gordonjcp <gordon@gjcp.net>
7 pkgdesc="Software-defined Radio receiver"
9 url="https://github.com/gordonjcp/lysdr"
11 depends=(fftw gtk2 jack)
12 makedepends=('python' 'git')
14 _gitroot="git://github.com/gordonjcp/lysdr.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"
29 msg "Building with waf"
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 ./waf configure --prefix=/usr
44 cd "$srcdir/$_gitname-build"
45 DESTDIR="$pkgdir/" ./waf install