updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-proc-background / PKGBUILD
blob2409715239feb6cd7425d3a64870b1b278e7f970
1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
2 # Created: 24/10/2011
4 _author=BZAJAC
5 _perlmod=Proc-Background
6 pkgname=perl-proc-background
7 pkgver=1.10
8 pkgrel=2
9 pkgdesc="Proc::Background - generic interface to Unix and Win32 background process management"
10 arch=('any')
11 url="http://search.cpan.org/dist/Proc-Background/"
12 license=('GPL' 'PerlArtistic')
13 depends=('perl')
14 provides=(
15   'perl-proc-background-unix'
16   'perl-proc-background-win32'
18 options=(!emptydirs)
19 source=("http://cpan.perl.org/modules/by-authors/id/B/BZ/$_author/$_perlmod-$pkgver.tar.gz")
21 build(){
22   cd "$srcdir/$_perlmod-$pkgver"
24   # Install module in vendor directories.
25   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
26   make
28 #check(){
29 #  cd "$srcdir/$_perlmod-$pkgver"
30 #  make test
32 package(){
33   cd "$srcdir/$_perlmod-$pkgver"
34   make install DESTDIR="$pkgdir/"
36   # remove perllocal.pod and .packlist
37   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
40 # vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
41 md5sums=('4f9d850e31c4131d1a28ffe0d26ef4e2')