From d8fc1b999ae46a0eb4c770803f33c14828cc4ad5 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 6 Jul 2014 23:50:56 +0200 Subject: [PATCH] New package: get-flash-videos-git-20140706 --- srcpkgs/get-flash-videos-git/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/get-flash-videos-git/template diff --git a/srcpkgs/get-flash-videos-git/template b/srcpkgs/get-flash-videos-git/template new file mode 100644 index 0000000000..3c8a5d82db --- /dev/null +++ b/srcpkgs/get-flash-videos-git/template @@ -0,0 +1,24 @@ +# Template file for 'get-flash-videos-git' +pkgname=get-flash-videos-git +version=20140706 +revision=1 +noarch=yes +makedepends="" +depends="perl perl-WWW-Mechanize perl-HTTP-Cookies perl-LWP-Protocol-https + perl-Module-Find perl-LWP-Protocol-socks perl-Tie-IxHash + perl-Crypt-Blowfish_PP" +short_desc="Downloads videos from various Flash-based video hosting sites" +maintainer="Christian Neukirchen " +license="Apache-2.0" +homepage="http://code.google.com/p/get-flash-videos" + +do_fetch() { + local url="git://github.com/monsieurvideo/get-flash-videos.git" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_install() { + make install DESTDIR="$DESTDIR" INSTALL_BASE=/usr \ + INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin +}