1 # Contributor: MutantMonkey <mutantmonkey@gmail.com>
5 pkgdesc="A free/open-source, console-based replacement for Pandora's Flash player"
6 url="http://6xq.net/0017"
9 depends=('libao' 'faad2' 'libmad' 'readline')
11 makedepends=('pkgconfig>=0.9' 'git' 'automake')
13 conflicts=('pianobar')
18 _gitroot="git://github.com/PromyLOPh/pianobar.git"
23 msg "Connecting to the pianobar git repository..."
25 if [ -d $srcdir/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf $srcdir/$_gitname-build
36 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build/
40 make DESTDIR=$pkgdir PREFIX=/usr install || return 1
42 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
43 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1