1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _name=proaudio-sound-control
7 pkgdesc="A single-window mash-up of QJackCtl and QasMixer."
9 url="https://gitorious.org/gabrbedd/ivory"
11 depends=('qt' 'jack' 'portaudio')
12 makedepends=('git' 'cmake')
15 install="$pkgname.install"
17 _gitroot=git://gitorious.org/gabrbedd/$_name.git
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
43 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
48 cd "$srcdir/$_gitname-build/bld"
49 make DESTDIR="$pkgdir/" install
52 rm "$pkgdir/usr/share/man/man1/$_name.1.gz"
55 # vim:set ts=2 sw=2 et: