summaryrefslogtreecommitdiff
path: root/extra/rubberband/PKGBUILD
blob: e5ee7babf4a3522da34234427fdb8553f87a44af (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
34
35
# $Id: PKGBUILD 135007 2011-08-09 21:02:54Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com>

pkgname=rubberband
pkgver=1.6.0
pkgrel=1
pkgdesc="Time-stretching and pitch-shifting audio library and utility"
arch=('i686' 'x86_64')
url="http://www.breakfastquay.com/rubberband/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
makedepends=('ladspa')
source=("http://code.breakfastquay.com/attachments/download/16/$pkgname-$pkgver.tar.bz2"
        'gcc46.patch')
md5sums=('28e3dc1f5ae694d6846bcb0ef3d597fc'
         '7c2f404975da6052f6b80eac12efbeb4')

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

  # fix gcc 4.6 compatibility
  patch -Np1 -i "$srcdir/gcc46.patch"

  ./configure --prefix=/usr
  make
}

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

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: