updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-sys-info-base / PKGBUILD
blob74fc7c3f8c5237795b38aef19c65cd9e31a1bb6e
1 # Contributor: Sebastian Köhler <sebkoehler@whoami.org.uk> 
2 # Generator  : CPANPLUS::Dist::Arch 0.20
3 pkgname='perl-sys-info-base'
4 pkgver='0.73'
5 pkgrel='1'
6 pkgdesc="'Base class for Sys::Info'\r"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Sys-Info-Base'
12 source=('http://search.cpan.org/CPAN/authors/id/B/BU/BURAK/Sys-Info-Base-0.73.tar.gz')
13 md5sums=('d892a480cf9b3ab44c520f738e5f6f63')
15 build() {
16   DIST_DIR="${srcdir}/Sys-Info-Base-0.73"
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