PKGBUILDs/community/perl-time-human/PKGBUILD

22 lines
708 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-time-human
pkgver=1.03
pkgrel=3
pkgdesc="Perl/CPAN Module Time::Human"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Time-Human"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/J/JH/JHOBLITT/Time-Human-1.03.tar.gz")
md5sums=("0e869154c54593305cb1366285c8cac5")
build() {
cd $startdir/src/Time-Human-1.03
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}