1 # Maintainer: Hakim <acrox999 at gmail dot com>
2 pkgname=fofix-pitchbend
5 pkgdesc="Pitchbend module for FoFiX"
7 url="http://code.google.com/p/fofix/"
10 depends=('libsndobj-cvs' 'sdl_mixer')
12 replaces=('fofix-pitchbend')
13 install=${pkgname}.install
15 #md5sums=('55076f8c7b7688e6d4f419f99c12ec82')
17 _gitroot="git://git.jstump.com/git/pitchbend.git"
23 msg "Cloning the GIT repo or pulling latest revision of 'pitchbend'..."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
27 git clone $_gitroot $_gitname
30 msg "Doing some housekeeping..."
31 rm -rf "${srcdir}/${_gitname}-build"
32 cp -r "$srcdir/${_gitname}" "$srcdir/${_gitname}-build"
33 cd "$srcdir/${_gitname}-build"
35 cp -r "${srcdir}/${_gitname}-build" /tmp/pitchbend-build
37 msg "If you get an error such as 'SDL.h not found', please create a symlink for all header files for SDL. (e.g 'sudo ln -s /usr/include/SDL/* /usr/include/')"
38 msg "If you still received error after creating the symlink, please build the package manually in the source folder (src/pitchbend) folder by issuing the following command 'python2 setup.py build' and run this script again."