updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / perl-unix-processors / PKGBUILD
blobec1e954bdffb5e81088ec1996a575b0c774556ce
1 # Contributor: Sebastian Köhler <sebkoehler@whoami.org.uk>
2 # Generator  : CPANPLUS::Dist::Arch 0.20
3 pkgname='perl-unix-processors'
4 pkgver='2.042'
5 pkgrel='1'
6 pkgdesc="Interface to per-processor information"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Unix-Processors'
12 source=('http://search.cpan.org/CPAN/authors/id/W/WS/WSNYDER/Unix-Processors-2.042.tar.gz')
13 md5sums=('641db045b253a1b75a1dcbc615981b40')
15 build() {
16   DIST_DIR="${srcdir}/Unix-Processors-2.042"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$DIST_DIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="$pkgdir" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete