1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A jack / qt4 SoundWall / CartWall."
9 url="https://github.com/zotz/jSoundz/wiki"
12 optdepends=('sox: sox backend'
14 'mplayer: mplayer backend')
19 _gitroot="git://github.com/zotz/jSoundz.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 # fixes ambiguos calls to QString()
45 sed -i "s|NULL||" src/{main,swall}.cpp
53 cd "$srcdir/$_gitname-build"
55 install -Dm755 $_pkg-build "$pkgdir/usr/bin/$_pkg"