updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / deadbeef-plugin-fb / PKGBUILD
blob4e663ac1a7ebe0e84bda9896cfe97508e1092b2e
1 # Maintainer: doctorkohaku <maido.in.heaven at gmail.com>
3 pkgname=deadbeef-plugin-fb
4 pkgver=20111120
5 pkgrel=1
6 pkgdesc="filebrowser plugin for the deadbeef audio player"
7 url="http://sourceforge.net/projects/deadbeef-fb/"
8 arch=('i686' 'x86_64')
9 license='GPL2'
10 depends=('gtk2' 'deadbeef')
11 makedepends=('git')
13 _gitname=deadbeef-fb
14 _gitroot=git://deadbeef-fb.git.sourceforge.net/gitroot/deadbeef-fb/${_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 origin
24   else
25     git clone $_gitroot
26   fi
28   msg "GIT checkout done or server timeout"
29   msg "Starting make..."
31   cd $srcdir
32   cp -r $_gitname $_gitname-build
34   cd $_gitname-build
35   
36   touch AUTHORS
37   touch ChangeLog
38   ./autogen.sh
39   ./configure --prefix=/usr
40   make
41   make DESTDIR=$pkgdir install