summaryrefslogtreecommitdiff
path: root/community/portaudio/PKGBUILD
blob: c8743a6f53b1681c5a8fdfd43f80d8e45480708f (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 105110 2014-01-31 20:24:11Z lfleischer $
# 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_20140130
pkgrel=1
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=('7f220406902af9dca009668e198cbd23')

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

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

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

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