updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / guitarix2 / PKGBUILD
blob26bc71ea0d9408736840f2abc65baa04edb6f5b7
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _name=guitarix
4 pkgname=${_name}2
5 pkgver=0.20.2
6 pkgrel=1
7 pkgdesc="A simple mono amplifier to be used in a 'JACKified' environment."
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/apps/wordpress/guitarix/"
10 license=('GPL')
11 depends=('gtkmm' 'jack' 'fftw' 'boost-libs')
12 makedepends=('python2' 'boost' 'intltool')
13 optdepends=('meterbridge: sound meters')
14 conflicts=("$_name" 'gx_head')
15 replaces=("$_name" 'gx_head')
16 install="$pkgname.install"
17 source=("http://switch.dl.sourceforge.net/project/$_name/$_name/$pkgname-$pkgver.tar.bz2")
18 md5sums=('8d335d0db77acbc284036120bcc26f75')
20 build() {
21   cd "$srcdir/$_name-$pkgver"
23   # strip ldconfig call
24   sed -i '/bld.env.*GX_LIB_SHARED/,+1d' wscript
26   python2 waf configure --prefix=/usr \
27                         --includeresampler \
28                         --includeconvolver \
29                         --no-faust \
30                         --optimization \
31                         --shared-lib
32   python2 waf build
35 package() {
36   cd "$srcdir/$_name-$pkgver"
38   python2 waf install --destdir="$pkgdir"