desktop/clipgrab/PKGBUILD
2017-03-25 12:00:19 +01:00

27 lines
912 B
Bash

pkgname=clipgrab
pkgver=3.6.4
pkgrel=1
pkgdesc='A video downloader and converter for YouTube, Vimeo, DailyMotion, MyVideo and many other'
arch=('x86_64')
url='https://clipgrab.org/'
screenshot='http://download.clipgrab.de/img/screenshot_videosearch_x11.png'
license=('GPL3')
depends=('qtwebkit' 'ffmpeg' 'libxslt')
source=("https://download.clipgrab.org/${pkgname}-${pkgver}.tar.gz"
"${pkgname}.desktop")
sha256sums=('bda87df48861341a5eb70574ab8b4b8ae35319b678b4db864191cf0c5d345680'
'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"
}