diff --git a/srcpkgs/clipgrab/files/clipgrab.desktop b/srcpkgs/clipgrab/files/clipgrab.desktop new file mode 100644 index 0000000000..dad31cfddb --- /dev/null +++ b/srcpkgs/clipgrab/files/clipgrab.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=ClipGrab +GenericName=Video Downloader +GenericName[de]=Video-Downloader +Comment=Download videos and convert it +Comment[de]=Videos herunterladen und konvertieren +Icon=/usr/share/pixmaps/clipgrab.png +Exec=clipgrab +TryExec=clipgrab +Terminal=false +Categories=Qt;AudioVideo;Audio;Video; diff --git a/srcpkgs/clipgrab/template b/srcpkgs/clipgrab/template new file mode 100644 index 0000000000..04937ec4e7 --- /dev/null +++ b/srcpkgs/clipgrab/template @@ -0,0 +1,29 @@ +# Template file for 'clipgrab' +pkgname=clipgrab +version=3.2.1.2 +revision=1 +makedepends="qt-devel desktop-file-utils" +short_desc="A friendly downloader for YouTube and other sites" +maintainer="Juan RP " +license="GPL-3" +homepage="http://www.clipgrab.org" +distfiles="http://download.clipgrab.de/${pkgname}-${version}.tar.bz2" +checksum=e13ebc405b7f3f570efea29856351b08b1ec0b59f6b93eb2e0bf071be9eb71b1 + +do_build() { + qmake + make ${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 +} + +clipgrab_package() { + depends="desktop-file-utils" + pkg_install() { + vmove all + } +}