diff --git a/srcpkgs/get-flash-videos-git/template b/srcpkgs/get-flash-videos-git/template index 85c6bcfe86..d25aee7639 100644 --- a/srcpkgs/get-flash-videos-git/template +++ b/srcpkgs/get-flash-videos-git/template @@ -1,9 +1,11 @@ # Template file for 'get-flash-videos-git' pkgname=get-flash-videos-git -version=20140706 -revision=2 +version=20150420 +_githash=eae1ac23fcc4a31ead78bfdd99c6faae3bde4ab3 +wrksrc="get-flash-videos-${_githash}" +revision=1 noarch=yes -hostmakedepends="perl git" +hostmakedepends="perl" makedepends="perl-WWW-Mechanize perl-HTTP-Cookies perl-LWP-Protocol-https perl-Module-Find perl-LWP-Protocol-socks perl-Tie-IxHash perl-Crypt-Blowfish_PP" @@ -12,14 +14,9 @@ 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} -} +distfiles="https://github.com/monsieurvideo/get-flash-videos/archive/${_githash}.tar.gz" +checksum=6d049a1e7672bf7e43c66ffaf7bece8a480e929c6986abb6328b77be29e5bf1a do_install() { - make install DESTDIR="$DESTDIR" INSTALL_BASE=/usr \ - INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin + make install_vendor DESTDIR="$DESTDIR" }