desktop/watchvideo/PKGBUILD
2015-08-31 02:48:00 +02:00

37 lines
1.4 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

pkgname=watchvideo
_pkgname=WatchVideo
pkgver=2.2.1
pkgrel=3
pkgdesc="Small application to play, download, convert to OGG or rip videos from Youtube-like sites."
arch=('x86_64')
url="http://www.nongnu.org/watchvideo/"
license=('custom:AGPLv3')
depends=('pyqt' 'python2' 'python2-getmediumurl' 'python2-lxml' 'python-distribute')
optdepends=('ffmpeg: needed for all operations related with video conversion or ripping.'
'ffmpeg2theora: needed to convert videos to Ogg Vorbis or Theora, but not for ripping audio.'
'python-notify: uses the systems default mechanism to show notification messages.')
categories=('multimedia')
install=$pkgname.install
changelog=ChangeLog
source=("http://kde-apps.org/CONTENT/content-files/133133-$_pkgname-$pkgver.tar.gz")
sha512sums=('9288fc2013677c55d474976a53e54f89ffec52681ce83625ac6945d3cfde13133797fdad2bebb0f12871e7ca13aa6623629cb0952637bb97edd6330c1005c264')
build() {
cd $srcdir/$_pkgname-$pkgver
}
package() {
cd $srcdir/$_pkgname-$pkgver
# Installation:
python2 setup.py install --root=$pkgdir/ --optimize=1
# Icon, .desktop entry and license:
install -Dm 644 $srcdir/$_pkgname-$pkgver/media/watchvideo.svg \
$pkgdir/usr/share/pixmaps/watchvideo.svg
install -Dm 755 $srcdir/$_pkgname-$pkgver/watchvideo.desktop \
$pkgdir/usr/share/applications/watchvideo.desktop
install -Dm 644 $srcdir/$_pkgname-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}