desktop/watchvideo/PKGBUILD

37 lines
1.4 KiB
Bash
Raw Normal View History

pkgname=watchvideo
_pkgname=WatchVideo
2011-07-31 12:27:12 +08:00
pkgver=2.2.1
2015-08-31 08:48:00 +08:00
pkgrel=3
pkgdesc="Small application to play, download, convert to OGG or rip videos from Youtube-like sites."
2015-08-31 08:48:00 +08:00
arch=('x86_64')
url="http://www.nongnu.org/watchvideo/"
license=('custom:AGPLv3')
2015-08-31 08:48:00 +08:00
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")
2015-08-31 08:48:00 +08:00
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
}