# Contributor: thacrazze # Maintainer: Stefan Husmann pkgname=clipgrab pkgver=3.1.0.2 pkgrel=2 pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ...' arch=('i686' 'x86_64') url='http://clipgrab.de/' license=('GPL') depends=('qt' 'qtwebkit') optdepends=('ffmpeg: for some encodings') source=(http://clipgrab.de/download/${pkgname}-${pkgver}.tar.bz2 ${pkgname}.png ${pkgname}.desktop) md5sums=('1250e1fb29cd88b7ce1a37d937de0146' 'ef030502ae0922e632742f47283313f4' '9a141791f6952917c441050c3dac81ce') build() { cd $srcdir/$pkgname-$pkgver qmake && make } package() { cd $srcdir/$pkgname-$pkgver install -Dm755 ${pkgname} $pkgdir/usr/bin/${pkgname} install -Dm644 $srcdir/${pkgname}.png \ $pkgdir/usr/share/pixmaps/${pkgname}.png install -Dm644 $srcdir/${pkgname}.desktop \ ${pkgdir}/usr/share/applications/${pkgname}.desktop }