1 # Maintainer: John "Nephyrin" Schoenick <john@pointysoftware.net>
2 # Contributor: Luca Bennati <lucak3 at gmail dot com>
7 pkgdesc="An alternative implementation of Linux sound support - GIT version"
9 url="http://www.alsa-project.org"
11 optdepends=('python2')
12 makedepends=('python2' 'git')
15 conflicts=('alsa-lib')
16 provides=('alsa-lib=1.0.24.1')
18 _gitroot="git://git.alsa-project.org/alsa-lib.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 ( cd $_gitname && git pull origin )
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 rm -rf "${_gitname}_build"
33 cp -r "${_gitname}"{,_build}
34 cd "${_gitname}_build"
36 autoreconf -v --force --install
38 ./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
45 cd "${srcdir}/${_gitname}_build"
46 make DESTDIR=$pkgdir install