updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / psychosynth / PKGBUILD
blobb862e3e2f3abbf8324a5ffb33dea8613844b9144
1 # Maintainer: ProAudio Group <proaudio-devel@googlegroups.com>
2 # Contributor: Ray Rashif <schivmeister@gmail.com>
3 # Contributor: LTSmash <lord.ltsmash@gmail.com>
5 pkgname=psychosynth
6 pkgver=0.1.1
7 pkgrel=2
8 pkgdesc="Software synthesizer inspired by the reacTable instrument"
9 arch=(i686 x86_64)
10 url="http://www.psychosynth.com/"
11 license=('GPL')
12 depends=('jack-audio-connection-kit' 'soundtouch' 'ogre' 'ois'
13          'libvorbis')
14 install=$pkgname.install
15 source=(http://forja.rediris.es/frs/download.php/707/$pkgname-$pkgver.tar.gz
16         gcc43.patch)
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   
21   # fix building with gcc 4.3
22   patch -Np1 -i ../gcc43.patch
23   
24   # rename soundtouch for pkgconfig
25   sed -i 's:libSoundTouch:soundtouch-1.0:g' configure || return 1
26   
27   ./configure   --prefix=/usr \
28                 --bindir=/usr/bin \
29                 --libdir=/usr/lib
30   make || return 1
31   make DESTDIR="$pkgdir" install
33 md5sums=('4de46e5c6b7c37c962aa6f5bdcc11a9e'
34          '48f4797e9f11609878879da4e0630be0')