updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / portaudio-svn / PKGBUILD
blobc5c36f4364f3b257aa671b12e648bcac0acbb464
1 # Maintainer: Philipp Gildein <rmbl@openspeak-project.org>
3 pkgname=portaudio-svn
4 pkgver=1384
5 pkgrel=3
6 pkgdesc="PortAudio is a free, cross platform, open-source, audio I/O library."
7 arch=('i686' 'x86_64')
8 url="http://www.portaudio.com"
9 license="custom"
10 depends=('jack-audio-connection-kit')
11 makedepends=('subversion')
12 conflicts=('portaudio')
13 provides=('portaudio')
14 source=()
15 md5sums=()
17 _svntrunk=https://www.portaudio.com/repos/portaudio
18 _svnmod=trunk
20 build() {
21   cd $startdir/src
23   if [ -d $_svnmod/.svn ]; then
24           echo "Directory is already existing - Updating"
25           (cd $_svnmod && svn update)
26   else
27           echo "Checking out from SVN"
28           svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver $_svnmod
29   fi
31   cd $_svnmod
32   ./configure --prefix=/usr --with-alsa --with-jack || return 1
33   make || return 1
34   make DESTDIR=$startdir/pkg install