updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / sndpeek-jack / PKGBUILD
blob663cc3dba165bbc2a29881221a657b86c8adb54c
1 # Maintainer: SpepS <dreamspepser at yahoo it>
3 pkgname=sndpeek-jack
4 pkgver=1.3
5 pkgrel=1
6 pkgdesc="A real-time audio visualization. Jack version."
7 arch=('i686' 'x86_64')
8 url="http://soundlab.cs.princeton.edu/software/sndpeek/"
9 license=('GPL')
10 depends=('libsndfile' 'jack')
11 source=(${url}files/${pkgname/-*/}-$pkgver.tgz)
12 md5sums=('0ad03fa135bf819fb5971fde015526b4')
14 build() {
15   cd $srcdir/${pkgname/-*/}-$pkgver/src/${pkgname/-*/}
17   sed -e '44i #include <cstdio>' -e '44i #include "string.h"' -e '44i #include "stdlib.h"' -i RtAudio.cpp || return 1
18   sed '30i #include "stdlib.h"' -i ../marsyas/LPC.cpp || return 1
20   make -f makefile.jack || return 1
21   install -D -m 755 ${pkgname/-*/} $pkgdir/usr/bin/$pkgname