summaryrefslogtreecommitdiff
path: root/community/portaudio/PKGBUILD
blob: 00178f79ad70871db9371ddc6b66173ef1fbf781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 99961 2013-10-31 02:42:36Z allan $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Darwin Bautista <djclue917@gmail.com>
# Contributor: Bob Finch <w9ya@qrparci.net>

pkgname=portaudio
pkgver=19_20111121
pkgrel=3
pkgdesc='A free, cross-platform, open source, audio I/O library.'
arch=('i686' 'x86_64')
url='http://www.portaudio.com/'
license=('custom')
depends=('gcc-libs' 'jack')
conflicts=('portaudio_cpp')
provides=('portaudio_cpp')
replaces=('portaudio_cpp')
source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
md5sums=('25c85c1cc5e9e657486cbc299c6c035a')

build() {
  cd "$srcdir/$pkgname"

  ./configure --prefix=/usr --enable-cxx
  make -j1
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="$pkgdir" install
  install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}