summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b47d18166f65dcbb3793a57f3e4b40137f651a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Phillip Smith <pkgbuild@phs.id.au>
# Maintainer: Guillaume DUMOULIN <guillaume.dumoulin@gmail.com>
# Contributor: elsixdiab

### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
### Please ask support questions about this software in one of:
###   1) The AUR comments; OR
###   2) Upstream forums/maillist etc; OR
###   3) The ArchLinux forums
### I do not always know enough about the software itself, or don't have the
### time to promptly respond to direct emails.
### If you have found a problem with the package/PKGBUILD (as opposed to
### the software) then please do email me or post an AUR comment.

pkgname=perl-proc-queue
pkgver=1.23
pkgrel=1
pkgdesc="Limit the number of child processes running."
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Proc-Queue/"
license=('Perl') 
depends=('perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Proc-Queue-${pkgver}.tar.gz")
md5sums=('57a153870f697b2dbf261bdfe09d61a0')

build() {
  cd "${srcdir}"/Proc-Queue-${pkgver}
  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps

  perl Makefile.PL INSTALLDIRS=vendor

  make
}

package() {
  cd "${srcdir}"/Proc-Queue-${pkgver}
  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT

  make DESTDIR="${pkgdir}" install

  # Remove .packlist and perllocal.pod files.
  find "${pkgdir}" -name '.packlist' -delete
  find "${pkgdir}" -name 'perllocal.pod' -delete
}

# vim:set ts=2 sw=2 et: