updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / perl-time-warp / PKGBUILD
blob83a781ed7ebdf1eb1c50eb5c60117ec972fb9f35
1 # CPAN Name  : Time-Warp
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-time-warp'
5 pkgver='0.5'
6 pkgrel='4'
7 pkgdesc="Change the start and speed of Event time"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 url='http://search.cpan.org/dist/Time-Warp'
13 source=('http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Time-Warp-0.5.tar.gz')
14 md5sums=('33652a9dfdc11366ddba95efe6432a51')
16 build() {
17   DIST_DIR="${srcdir}/Time-Warp-0.5"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&    perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&make test &&
21     make DESTDIR="$pkgdir" install;  } || return 1;
23   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete