summaryrefslogtreecommitdiff
path: root/community/clipgrab/PKGBUILD
blob: 724a294d43d9e30d18ac7d6db6909b8030c6c5ea (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.1
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=('87df4d8fdc4c1097eb78cf064561db24'
         '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
}