2 pkgname=jack-stdout-git
5 pkgdesc="a small tool that writes JACK audio-sample data to buffered standard output. jack-stdin reads raw audio data from standard-input and writes it to a JACK audio port."
7 url="http://rg42.org/oss/jackstdio/start"
10 provides=('jack-stdout')
11 conflicts=('jack-stdout')
12 replaces=('jack-stdout')
14 _gitroot="git://rg42.org/jack-stdout"
15 _gitname="jack-stdout"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 mkdir -p ${pkgdir}/usr/bin
42 mkdir -p ${pkgdir}/usr/share/man/man1/
44 install -m 755 jack-stdout ${pkgdir}/usr/bin/
45 install -m 755 jack-stdin ${pkgdir}/usr/bin/
46 install -m 644 jack-stdout.1 ${pkgdir}/usr/share/man/man1/
47 install -m 644 jack-stdin.1 ${pkgdir}/usr/share/man/man1/