1 # See http://wiki.archlinux.org/index.php/Perl_Package_Guidelines for more
2 # information on Perl packaging.
4 # Contributor: Alexander Duscheleit <jinks@archlinux.us>
5 pkgname=perl-video-info
8 pkgdesc="Library to retrieve video properties."
10 url="http://search.cpan.org/~allenday/Video-Info-0.993/Info.pm"
12 depends=('perl>=5.10.0')
14 source=(http://search.cpan.org/CPAN/authors/id/A/AL/ALLENDAY/Video-Info-$pkgver.tar.gz)
15 sha256sums=('7b4972e32820770600ed1a350c5aaeaa5b70ce4cef6b423e47503c934a0c72e3')
18 cd "$srcdir/Video-Info-$pkgver"
20 # install module in vendor directories.
21 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
26 cd "$srcdir/Video-Info-$pkgver"
27 make install DESTDIR="$pkgdir/" || return 1
29 install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
32 # vim:set ts=2 sw=2 et: