updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / sinthgunt / PKGBUILD
blob93fcbc47f09b8fae6e66904f814a77f745e48001
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=sinthgunt
4 pkgver=2.0.3
5 pkgrel=2
6 pkgdesc="Sinthgunt is an easy to use GUI for ffmpeg with more than 100 pre-configured conversion settings."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/sinthgunt/"
9 license=('GPL3')
10 depends=('ffmpeg' 'pygtk' 'youtube-dl')
11 source=(http://sinthgunt.googlecode.com/files/$pkgname-$pkgver.linux-i686.tar.gz)
12 md5sums=('866b726a40ea72fd8e75a84491723a90')
14 build() {
15    cd $srcdir/usr
17    # Python2 fix
18    mv ./lib/python2.5 ./lib/python2.7
19    sed -i 's_^#!/usr/bin/python_#!/usr/bin/python2_' ./bin/sinthgunt
20    sed -i 's_^#!/usr/bin/python_#!/usr/bin/python2_' ./lib/python2.7/site-packages/Sinthgunt/app.py
22    # Remove youtube-dl(is in community repository)
23    rm -f ./bin/youtube-dl
25    # Install
26    mkdir -p $pkgdir/usr
27    cp -R * $pkgdir/usr