updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / guitarix2 / PKGBUILD
blob93de545630a6ffa77b5b8bdddb8116b7f0c4177e
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _name=guitarix
4 pkgname=${_name}2
5 pkgver=0.21.0
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=('ed40664453c9b2b61240f46ffee62f14')
20 build() {
21   cd "$srcdir/$pkgname-$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/$pkgname-$pkgver"
38   python2 waf install --destdir="$pkgdir"