updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / deadbeef-fb-git / PKGBUILD
blob5568f728664cce3f722266f0607148e85c61ea7d
1 # Maintainer: Ananda Samaddar <ananda@samaddar.co.uk>
2 pkgname=deadbeef-fb-git
3 pkgver=20110609
4 pkgrel=1
5 pkgdesc="File Browser plugin for the Deadbeef Music Player"
6 url="http://sourceforge.net/projects/deadbeef-fb/"
7 arch=('i686' 'x86_64')
8 license=('GPL2')
9 depends=('deadbeef')
10 makedepends=('autoconf' 'autogen' 'automake' 'git' 'intltool' )
13 _gitname=deadbeef-fb
14 _gitroot=git://deadbeef-fb.git.sourceforge.net/gitroot/${_gitname}/${_gitname}
16 build() {
17   cd $srcdir
18   msg "Connecting to GIT server...."
19   rm  -rf $srcdir/$_gitname-build
21   if [ -d $_gitname ]; then
22    cd $_gitname
23    git pull
24     else
25    git clone $_gitroot
26      fi
28   msg "GIT checkout done or server timeout"
29   msg "Starting make..."
31   cd $srcdir/${_gitname}
32   
33   ./autogen.sh
34   ./configure --prefix=/usr
35   make
36   make DESTDIR=$pkgdir install