# $Id: PKGBUILD 59252 2011-11-22 02:19:48Z ebelanger $ # Maintainer: Stefan Husmann # Contributor: thacrazze pkgname=clipgrab pkgver=3.1.3.0 pkgrel=1 pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ...' arch=('i686' 'x86_64') url='http://clipgrab.de/' license=('GPL3') depends=('qt') optdepends=('ffmpeg: for some encodings') source=(http://clipgrab.de/download/${pkgname}-${pkgver}.tar.bz2 ${pkgname}.desktop) md5sums=('3e8f5ab9ef0144fa234cf3b725797123' '9a141791f6952917c441050c3dac81ce') build() { cd "$srcdir/$pkgname-$pkgver" qmake make } package() { cd "$srcdir/$pkgname-$pkgver" install -Dm755 ${pkgname} "$pkgdir/usr/bin/${pkgname}" install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/${pkgname}.png" install -Dm644 "$srcdir/${pkgname}.desktop" \ "${pkgdir}/usr/share/applications/${pkgname}.desktop" }