get-flash-videos-git: update to 20150420.

- use tarball
- install to vendor_perl
This commit is contained in:
Christian Neukirchen 2015-04-20 14:50:26 +02:00
parent 6a37fe9311
commit 501a7970df

View file

@ -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 <chneukirchen@gmail.com>"
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"
}