# $Id$ # Maintainer: Ray Rashif # Contributor: Felipe Machado aka arch_audio # ALARM: Kevin Mihelich # - patch to fix build on v5 pkgname=rubberband pkgver=1.8.1 pkgrel=4 pkgdesc="Time-stretching and pitch-shifting audio library and utility" arch=('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") source=($pkgname-$pkgver.tar.gz::"https://github.com/breakfastquay/rubberband/archive/v$pkgver.tar.gz" '03-fix_build_on_armel.patch') md5sums=('43dc4b3db1bab59f68e494a01d05252a' '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 }