updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rubberband15 / PKGBUILD
blob437ed14e0d783cd2d34c0f96dc23bc3212839381
1 # Contributor: Loren Copeland
3 pkgname=rubberband15
4 pkgver=1.5.0
5 pkgrel=2
6 pkgdesc="Older version of the rubberband time-stretching and pitch-shifting audio library and utility, provided because it works."
7 arch=('i686' 'x86_64')
8 url="http://www.breakfastquay.com/rubberband/"
9 license=('GPL')
10 depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
11 makedepends=('ladspa' 'cpio' 'rpm-org')
12 provides=('rubberband')
13 conflicts=('rubberband')
14 if [ $CARCH == x86_64 ] ; then
15         source=("ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/13/x86_64/rubberband-1.5.0-1.fc13.x86_64.rpm")
16         md5sums=('5d76dcb33dd17aeb895820ff50f37e72')
17 else
18         source=("ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/13/i386/rubberband-1.5.0-1.fc13.i686.rpm")
19         md5sums=('60591e636ab347bae219a67fc09fdf9f')
21 noextract=('rubberband-1.5.0-1.fc13.$CARCH.rpm')
23 build() {
24         rm -r "$srcdir"/usr
25         cd "$srcdir"
26         rpm2cpio rubberband-1.5.0-1.fc13.$CARCH.rpm > rubberband-1.5.0.cpio
27         cpio --no-absolute-filenames -diI rubberband-1.5.0.cpio
29         if [ $CARCH = x86_64 ] ; then
30                 mv usr/lib64 usr/lib
31         fi
34 package() {
35         cd "$srcdir"
36         cp -r usr "$pkgdir"
39 # vim:set ts=2 sw=2 et: