diff options
author | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
commit | e7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch) | |
tree | 4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /testing/perl-time-hires | |
parent | 311d0420d77867bdb1066d38743e68e596a17ce5 (diff) |
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'testing/perl-time-hires')
-rw-r--r-- | testing/perl-time-hires/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/perl-time-hires/PKGBUILD b/testing/perl-time-hires/PKGBUILD new file mode 100644 index 000000000..db9ddcb7f --- /dev/null +++ b/testing/perl-time-hires/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 125291 2011-05-25 19:23:52Z foutrelis $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: mezcal <fila at pruda dot com> + +pkgname=perl-time-hires +pkgver=1.9721 +pkgrel=4 +pkgdesc="Perl module: high resolution time, sleep, and alarm" +arch=('i686' 'x86_64') +license=('PerlArtistic') +url="http://search.cpan.org/dist/Time-HiRes/" +depends=('perl') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/J/JH/JHI/Time-HiRes-${pkgver}.tar.gz) +md5sums=('bf09911a36b9481537c8e0d28fbb3aaf') + +build() { + cd "${srcdir}/Time-HiRes-${pkgver}" + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make + make test + make install DESTDIR="${pkgdir}" +} |