updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rt_pvc / PKGBUILD
blobcea3da26f20a0bc22cd79e1212180ce06701e989
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=rt_pvc
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="Real-time phase vocoder analysis/synthesis library + visualization"
7 arch=(i686 x86_64)
8 url="http://soundlab.cs.princeton.edu/software/rt_pvc/"
9 license=('GPL')
10 depends=('freeglut' 'libxmu' 'alsa-lib')
11 source=($url$pkgname-$pkgver.tgz)
12 md5sums=('0a99b4f17038dd76c172735dbf7f2d15')
14 build() {
15   cd "$srcdir"
17   # GCC fix
18   sed -i "14i#include <cstdio>" pvc.cpp
19   sed -i "44i#include <cstdio>" RtAudio.cpp
21   make -f makefile.alsa
24 package() {
25   cd "$srcdir"
27   mkdir -p "$pkgdir/usr/bin"
28   install -Dm 755 $pkgname "$pkgdir/usr/bin"
31 # vim:set ts=2 sw=2 et: