updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / perl-file-pid / PKGBUILD
bloba902f267f1c29fcf332721e2bacfea4374cc73fe
1 # Maintainer: Techlivezheng <techlivezheng [at] gmail [dot] com>
3 pkgname='perl-file-pid'
4 pkgver='1.01'
5 pkgrel='1'
6 pkgdesc='Pid File Manipulation.'
7 url='http://search.cpan.org/~cwest/File-Pid/'
8 arch=('any')
9 license=('GPL' 'Artistic')
10 depends=('perl>=5.10.0')
11 options=(!emptydirs)
12 install="${pkgname}.install"
13 source=("http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/File-Pid-1.01.tar.gz")
15 build(){
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
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
27 md5sums=('d927b40215cbfbff233d9feb53529532')