Advertisement
Guest User

Untitled

a guest
Oct 8th, 2010
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement