This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 15th, 2012  |  syntax: None  |  size: 1.18 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: SpepS <dreamspepser at yahoo dot it>
  2.  
  3. _name=guitarix
  4. pkgname=${_name}2
  5. pkgver=0.22.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://download.sourceforge.net/project/$_name/$_name/$pkgname-$pkgver.tar.bz2")
  18. md5sums=('ccc943f2ae5d6e3f4ce7099fe2b7052d')
  19.  
  20. build() {
  21.   cd "$srcdir/$_name-$pkgver"
  22.  
  23.   # do not call both ldconfig
  24.   # and update-desktop-database
  25.   sed -e '/bld.env.*GX_LIB_SHARED/,+1d' \
  26.       -e "/'install'/,/pass/d" -i wscript
  27.  
  28.   python2 waf configure --prefix=/usr \
  29.                         --includeresampler \
  30.                         --includeconvolver \
  31.                         --no-faust \
  32.                         --optimization \
  33.                         --shared-lib
  34.   python2 waf build
  35. }
  36.  
  37. package() {
  38.   cd "$srcdir/$_name-$pkgver"
  39.   python2 waf install --destdir="$pkgdir"
  40. }
clone this paste RAW Paste Data