updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-subtitles / PKGBUILD
blob0012b932ea51d9e4fa770d168161d3105726cfa5
1 # Contributor: Sebastien Vasey <sebastien dot vasey at gmail dot com>
2 pkgname=perl-subtitles
3 pkgver=1.03
4 pkgrel=3
5 pkgdesc="Simple command line tool to re-time and convert subtitle files"
6 arch=(i686 x86_64)
7 url="http://search.cpan.org/dist/Subtitles/"
8 license=('PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 source=("http://search.cpan.org/CPAN/authors/id/K/KA/KARASIK/Subtitles-1.03.tar.gz")
12 md5sums=("ca124b3665753488a4dffc0f76777ace")
13 install="${pkgname}.install"
15 build() {
16   cd "$srcdir/Subtitles-$pkgver"
18   # install module in vendor directories.
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make || return 1
21   make install DESTDIR="$pkgdir/" || return 1
23   # remove perllocal.pod and .packlist
24   find "$pkgdir" -name perllocal.pod -delete
25   find "$pkgdir" -name .packlist -delete