updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / deadbeef-plugin-jack / PKGBUILD
blob60720810c64ea111ed4acb2d7ea5278f23abecc3
1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
3 pkgname=deadbeef-plugin-jack
4 pkgver=20111126
5 pkgrel=1
6 pkgdesc="JACK output plugin for DeaDBeeF."
7 url="http://gitorious.org/deadbeef-sm-plugins/jack"
8 arch=('i686' 'x86_64')
9 license='MIT'
10 depends=('deadbeef' 'jack2')
11 makedepends=('git')
14 _gitname=jack
15 _gitroot=git://gitorious.org/deadbeef-sm-plugins/jack.git
17 build() {
18   cd $srcdir
19   msg "Connecting to GIT server...."
20   rm  -rf $srcdir/$_gitname-build
22   if [ -d $_gitname ]; then
23    cd $_gitname
24    git pull
25     else
26    git clone $_gitroot
27      fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   cd $srcdir/${_gitname}
33   
34   make
35   install -Dm644 jack.so $pkgdir/usr/lib/deadbeef/jack.so