updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / perl-number-bytes-human / PKGBUILD
blob52bed4ff6083b889eb9b8d8ef9f7b0ab3b6d01c4
1 # CPAN Name  : Number-Bytes-Human
2 # Contributor: Sebastian Köhler <sebkoehler@whoami.org.uk>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 pkgname='perl-number-bytes-human'
5 pkgver='0.07'
6 pkgrel='1'
7 pkgdesc="Convert byte count to human readable format\r"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/Number-Bytes-Human'
13 source=('http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/Number-Bytes-Human-0.07.tar.gz')
14 md5sums=('8e5d230709bfc5e919f5f47ed3cb5bdb')
16 build() {
17   DIST_DIR="${srcdir}/Number-Bytes-Human-0.07"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
20     perl Makefile.PL INSTALLDIRS=vendor &&
21     make &&
22     make test &&
23     make DESTDIR="$pkgdir" install;
24   } || return 1;
26   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete