summaryrefslogtreecommitdiff
path: root/community/clipgrab/PKGBUILD
blob: 52618ef13c77dfb75630b4e39a4d634fbcb70b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: thacrazze <thacrazze|googlemail|com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=clipgrab
pkgver=3.1.0.2
pkgrel=1
pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ...'
arch=('i686' 'x86_64')
url='http://clipgrab.de/'
license=('GPL')
depends=('qt')
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
}