4 pkgdesc="Makes writing applications for Monomes easy"
7 url=("https://github.com/monome/libmonome")
8 conflicts=('libmonome')
10 depends=('liblo' 'udev')
13 _gitroot="https://github.com/monome"
17 msg "Connecting to the GIT server..."
19 if [[ -d $srcdir/$_gitname ]] ; then
22 msg "The local files were updated."
24 git clone "$_gitroot/$_gitname.git"
27 msg "GIT checkout done"
28 msg "Starting make..."
30 git clone $srcdir/$_gitname $srcdir/$_gitname-build
31 cd $srcdir/$_gitname-build
35 ./configure --prefix=$pkgdir/usr || return 1
37 make install PKGCONFIGDIR="$pkgdir/usr/lib/pkgconfig"|| return 1
39 rm -rf $srcdir/$_gitname-build