# Template file for 'clipgrab'
pkgname=clipgrab
version=3.4.7
revision=1
makedepends="qt-devel"
depends="desktop-file-utils"
short_desc="A friendly downloader for YouTube and other sites"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.clipgrab.org"
distfiles="http://download.clipgrab.de/${pkgname}-${version}.tar.bz2"
checksum=75edfc7e8ffdc1bae16d4bded8717e65e7c2c9f2416f6faf29a8923acafba117

do_build() {
	qmake clipgrab.pro
	make CXXFLAGS="$CXXFLAGS" ${makejobs}
}
do_install() {
	vbin clipgrab
	vinstall icon.png 644 usr/share/pixmaps clipgrab.png
	vinstall ${FILESDIR}/clipgrab.desktop 644 usr/share/applications
}
