updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / clipgrab / PKGBUILD
blob4822ccd341b01b9af9eb894c59d21afa5684c06c
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: thacrazze <thacrazze|googlemail|com>
5 pkgname=clipgrab
6 pkgver=3.1.3.0
7 pkgrel=2
8 pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ...'
9 arch=('i686' 'x86_64')
10 url='http://clipgrab.de/'
11 license=('GPL3')
12 depends=('qtwebkit')
13 optdepends=('ffmpeg: for some encodings')
14 source=(http://clipgrab.de/download/${pkgname}-${pkgver}.tar.bz2
15         ${pkgname}.desktop)
16 md5sums=('3e8f5ab9ef0144fa234cf3b725797123'
17          '9a141791f6952917c441050c3dac81ce')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   qmake
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   install -Dm755 ${pkgname} "$pkgdir/usr/bin/${pkgname}"
28   install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/${pkgname}.png"
29   install -Dm644 "$srcdir/${pkgname}.desktop" \
30     "${pkgdir}/usr/share/applications/${pkgname}.desktop"