1 # Contributor: Sebastien Vasey <sebastien dot vasey at gmail dot com>
5 pkgdesc="Simple command line tool to re-time and convert subtitle files"
7 url="http://search.cpan.org/dist/Subtitles/"
8 license=('PerlArtistic')
9 depends=('perl>=5.10.0')
11 source=("http://search.cpan.org/CPAN/authors/id/K/KA/KARASIK/Subtitles-1.03.tar.gz")
12 md5sums=("ca124b3665753488a4dffc0f76777ace")
13 install="${pkgname}.install"
16 cd "$srcdir/Subtitles-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || 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