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 Oct 8th, 2010  |  syntax: None  |  size: 1.04 KB  |  views: 193  |  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. # Contributor: Artem Sereda <overmind88@gmail.com>                                                          
  2. pkgname=gcue2tracks
  3. pkgver=0.5.0
  4. pkgrel=1
  5. pkgdesc="Tool for spliting compressed audio CD image to tracks with filling tags from cue sheet info."
  6. arch=(i686 x86_64)
  7. url="http://trac-hg.assembla.com/gCue2tracks/wiki"    
  8. license=('GPL')
  9. depends=('pygtk' 'cuetools' 'shntool' 'ffmpeg' 'unzip')
  10. optdepends=('id3v2: For MP3 tagging support')
  11. makedepends=(gettext)
  12. source=(http://trac-hg.assembla.com/gCue2tracks/attachment/wiki/Archive/$pkgname\_$pkgver.tar.gz)
  13. md5sums=('a1b34d5542b08a99dca4f6c8da288286')
  14.  
  15. build() {
  16.   cd "$srcdir/gCue2tracks"
  17.   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
  18.       -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
  19.       $(find . -name '*.py')
  20.   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
  21.       -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" gCue2tracks gcue2tracks
  22.   python2 setup.py install --root=${pkgdir}
  23.   chmod +x ${pkgdir}/usr/bin/gcue2tracks
  24. }
clone this paste RAW Paste Data