updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / watchvideo / PKGBUILD
blob312877a48b8d464bab22e24025d1a96e45b419e4
1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
3 pkgname=watchvideo
4 pkgver=2.2.1
5 pkgrel=2
6 pkgdesc="Small application to play or download videos from various YouTube-like sites"
7 arch=('i686' 'x86_64')
8 url="http://kde-apps.org/content/show.php/WatchVideo?content=133133"
9 license=('GPL3')
10 depends=('getmediumurl' 'python2-qt' 'python-urlreader' 'vlc')
11 source=(http://qt-apps.org/CONTENT/content-files/128368-WatchVideo-$pkgver.tar.gz)
12 md5sums=('f8bea1dab1534cb01f5c3f268536e0d3')
14 build() {
15    cd $srcdir/WatchVideo-$pkgver
17    python2 setup.py install --root=$pkgdir --optimize=1
19    # Fix Desktop icon
20    sed -i 's_GenericName=WatchVideo_GenericName=Youtube Player_' watchvideo.desktop
22    # Desktop icon
23    install -Dm644 ./media/watchvideo.svg $pkgdir/usr/share/pixmaps/watchvideo.svg
24    install -Dm644 watchvideo.desktop $pkgdir/usr/share/applications/watchvideo.desktop