updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / spectmorph / PKGBUILD
blob44145c76311d6a3ee8f87bbcef50cac308511c43
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=spectmorph
4 pkgver=0.2.0
5 pkgrel=1
6 pkgdesc="A free software project which allows to analyze samples of musical instruments."
7 arch=('i686' 'x86_64')
8 url="http://www.$pkgname.org/"
9 license=('LGPL')
10 depends=('beast>=0.7.2' 'fftw' 'gtkmm' 'jack' 'libao')
11 options=('!libtool')
12 source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
13 md5sums=('6a31fe7329d7794b55fd8f2b48e3a983')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   export PYTHON="python2"
19   export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
21   # path fix
22   sed -i "s_/local/beast__" beast/Makefile.*
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install