1 # Contributor: Christoph Siegenthaler <csi@gmx.ch>
5 pkgdesc="Next generation pimpd"
7 url="http://github.com/trapd00r/pimpd-ng"
9 depends=('perl-audio-mpd')
11 backup=('etc/pimpd-ng.conf')
15 _gitroot="git://github.com/trapd00r/pimpd-ng.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 mkdir -p $pkgdir/{etc,/usr/bin}
37 install pimpd-ng.pl $pkgdir/usr/bin/pimpd-ng
38 install pimpd-ng.conf $pkgdir/etc