void-packages/srcpkgs/clipgrab/template

24 lines
688 B
Bash

# Template file for 'clipgrab'
pkgname=clipgrab
version=3.4.9
revision=2
hostmakedepends="qt-qmake"
makedepends="qt-devel"
depends="ffmpeg desktop-file-utils"
short_desc="A friendly downloader for YouTube and other sites"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.clipgrab.org"
distfiles="http://download.clipgrab.de/${pkgname}-${version}.tar.bz2"
checksum=e1aaf9c5f55788ac580ba645f0368b8bdf5b65dbe133cd7e08df9ffed8c0546d
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
}