updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / perl-video-info / PKGBUILD
blobc592562a452e436d36753668758fa4a994824c1e
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
6 pkgver=0.993
7 pkgrel=1
8 pkgdesc="Library to retrieve video properties."
9 arch=('any')
10 url="http://search.cpan.org/~allenday/Video-Info-0.993/Info.pm"
11 license=('Custom')
12 depends=('perl>=5.10.0')
13 options=(!emptydirs)
14 source=(http://search.cpan.org/CPAN/authors/id/A/AL/ALLENDAY/Video-Info-$pkgver.tar.gz)
15 sha256sums=('7b4972e32820770600ed1a350c5aaeaa5b70ce4cef6b423e47503c934a0c72e3')
17 build() {
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
22   make || return 1
25 package() {
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: