1 # Contributor: Markus Martin
2 # Maintainer: kfgz <kfgz at interia pl>
7 pkgdesc="Utility library to help manage common tasks with OpenAL applications."
9 url="http://kcat.strangesoft.net/alure.html"
15 optdepends=('libsndfile: Uncompressed audio support'
16 'libsdnfile: OGG Vorbis support'
19 _gitroot="git://repo.or.cz/alure.git alure"
24 msg "Connecting to repo.or.cz GIT server...."
26 if [ -d ${srcdir}/${_gitname} ] ; then
27 cd ${_gitname} && git pull origin
28 msg "The local files are updated."
33 msg "GIT checkout done or server timeout"
35 msg "Creating build directory"
36 if [ -d ${srcdir}/${_gitname}-build ]; then rm -rf ${srcdir}/${_gitname}-build; fi
37 cp -R ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
39 msg "Starting make..."
40 cd ${srcdir}/${_gitname}-build
41 cmake . -DCMAKE_INSTALL_PREFIX=/usr
46 cd ${srcdir}/${_gitname}-build
47 make DESTDIR=${pkgdir} install