# Template file for 'clipgrab'
pkgname=clipgrab
version=3.4.2
revision=1
makedepends="qt-devel desktop-file-utils"
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=66aa911fca37261942b7722d603c52406fc4eb19c81f93682a463dc64c3fe362

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