1 # Maintainer: Bernardo Barros <bernardobarros@gmail.com>
6 pkgdesc="MidiOSC is a small program to bridge the worlds of MIDI and OSC by providing bidirectional conversion of MIDI to OSC."
7 url="https://github.com/jstutters/MidiOSC"
13 _gitroot="git://github.com/jstutters/MidiOSC.git"
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"
40 mkdir -p "$pkgdir/usr/bin"
41 install -m 755 $srcdir/$_gitname-build/midiosc $pkgdir/usr/bin