Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Artem Sereda <overmind88@gmail.com>
- pkgname=gcue2tracks
- pkgver=0.5.0
- pkgrel=1
- pkgdesc="Tool for spliting compressed audio CD image to tracks with filling tags from cue sheet info."
- arch=(i686 x86_64)
- url="http://trac-hg.assembla.com/gCue2tracks/wiki"
- license=('GPL')
- depends=('pygtk' 'cuetools' 'shntool' 'ffmpeg' 'unzip')
- optdepends=('id3v2: For MP3 tagging support')
- makedepends=(gettext)
- source=(http://trac-hg.assembla.com/gCue2tracks/attachment/wiki/Archive/$pkgname\_$pkgver.tar.gz)
- md5sums=('a1b34d5542b08a99dca4f6c8da288286')
- build() {
- cd "$srcdir/gCue2tracks"
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" gCue2tracks gcue2tracks
- python2 setup.py install --root=${pkgdir}
- chmod +x ${pkgdir}/usr/bin/gcue2tracks
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement