desktop/clipgrab/PKGBUILD
2015-01-28 13:47:32 +00:00

34 lines
1.2 KiB
Bash

# Maintainer: Michael Haesel <michael[dot]haesel[at]gmail[dot]com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: thacrazze <thacrazze|googlemail|com>
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Contributor on CCR: Gandalf77 <krzychprzech@gmail.com>
pkgname=clipgrab
pkgver=3.4.9
pkgrel=1
pkgdesc='A video downloader and converter for YouTube, Vimeo, DailyMotion, MyVideo and many other'
arch=('x86_64')
url='http://clipgrab.de/en'
screenshot='http://download.clipgrab.de/img/screenshot_videosearch_x11.png'
license=('GPL3')
depends=('qtwebkit')
optdepends=('ffmpeg: for some encodings')
source=("http://download.clipgrab.de/${pkgname}-${pkgver}.tar.bz2"
"${pkgname}.desktop")
sha256sums=('e1aaf9c5f55788ac580ba645f0368b8bdf5b65dbe133cd7e08df9ffed8c0546d'
'a12c0501d2f46b4a2a7103a0cce8a35d9b44245dee6cc12eb7d3e5c083cc5809')
build() {
cd ${pkgname}-${pkgver}
qmake clipgrab.pro
make
}
package() {
cd ${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"
}