1 # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
3 pkgname='perl-file-pid'
6 pkgdesc='Pid File Manipulation.'
7 url='http://search.cpan.org/~cwest/File-Pid/'
9 license=('GPL' 'Artistic')
10 depends=('perl>=5.10.0')
12 install="${pkgname}.install"
13 source=("http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/File-Pid-1.01.tar.gz")
16 cd "${srcdir}/File-Pid-${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
27 md5sums=('d927b40215cbfbff233d9feb53529532')