PKGBUILDs/extra/rubberband/PKGBUILD

36 lines
930 B
Bash
Raw Normal View History

2014-01-03 02:32:30 +00:00
# $Id$
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix build on v5
pkgname=rubberband
pkgver=1.8.1
pkgrel=2
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/34/$pkgname-$pkgver.tar.bz2"
'03-fix_build_on_armel.patch')
md5sums=('6c2b4e18a714bcc297d0db81a10f9348'
'48adb11a751eaf6324167da3a0530095')
build() {
cd "$srcdir/$pkgname-$pkgver"
[[ $CARCH == 'arm' ]] && patch -p1 -i ../03-fix_build_on_armel.patch
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}