updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / freeverb3 / PKGBUILD
blob3f4e362b2eed3d1db060254fea7b2398ed85302c
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=freeverb3
4 pkgver=2.6.4
5 pkgrel=1
6 pkgdesc="A reverb impulse response processor library including plugins for XMMS, BMP, audacious, and VST."
7 arch=(i686 x86_64)
8 url="http://freeverb3.sourceforge.net/"
9 license=('GPL')
10 depends=('fftw' 'jack')
11 makedepends=('bmp' 'xmms')
12 optdepends=('bmp: beep media player plugin'
13             'xmms: xmms plugin')
14 options=('!libtool')
15 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz")
16 md5sums=('42713f7a32ac2ec20bbe47712b4be996')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   # remove unsecure rpath
22   sed -i "s|\(\${wl}\-rpath\)\( \${wl}\$libdir\)|\1-link\2|" configure
24   # strip as-needed
25   export LDFLAGS="${LDFLAGS/,--as-needed}"
27   ./configure --prefix=/usr \
28               --enable-release \
29               --enable-double \
30               --enable-sample \
31               --enable-jack \
32               --enable-xmms \
33               --enable-bmp \
34               --enable-plugdouble \
35               --disable-rpath
36 #              --enable-audacious # disabled broken
37   make
40 package() {
41   cd "$srcdir/$pkgname-$pkgver"
43   make DESTDIR="$pkgdir/" install
46 # vim:set ts=2 sw=2 et: