Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 25th, 2010  |  syntax: Bash  |  size: 0.82 KB  |  hits: 96  |  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: jpate <j.k.pate@sms.ed.ac.uk>
  2. pkgname=praat
  3. pkgver=5.2.06
  4. pkgrel=1
  5. pkgdesc="A tool for 'Doing Phonetics by computer'"
  6. arch=('x86_64' 'i686')
  7. url="http://www.fon.hum.uva.nl/praat/"
  8. license=('GPL')
  9. depends=( 'alsa-lib' 'gtk2' )
  10. #depends=( 'lesstif' 'libxft' 'libxp' 'libpng' 'libx11' 'alsa-lib' 'gtk2' )
  11. source=("http://www.fon.hum.uva.nl/praat/praat5206_sources.tar.gz")
  12. md5sums=('c5af7e163f2ff798301db986d707a78a')
  13.  
  14. build() {
  15.   cd "$srcdir/sources_5206/"
  16.  
  17.   cp makefiles/makefile.defs.linux.gtk makefile.defs
  18.   #cp makefiles/makefile.defs.linux.dynamic makefile.defs
  19.   sed -i 's|-I|-I/usr/include/gdk-pixbuf-2.0 -I|' makefile.defs
  20.   sed -i 's|/usr/local/lib|/usr/lib|g' makefile.defs
  21.   sed -i 's|/usr/local/include|/usr/include|g' makefile.defs
  22.  
  23.   make
  24.  
  25.   install -Dm755  praat "$pkgdir/usr/bin/praat"
  26. }