void-packages/srcpkgs/get-flash-videos-git/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
838 B
Bash

# Template file for 'get-flash-videos-git'
pkgname=get-flash-videos-git
version=20140706
revision=2
noarch=yes
hostmakedepends="perl git"
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"
depends="${makedepends}"
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}
}
do_install() {
make install DESTDIR="$DESTDIR" INSTALL_BASE=/usr \
INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin
}