diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-06 17:34:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-06 17:34:48 (GMT) |
commit | a88e0a4caaee4269707417416f8e36c754ea6e16 (patch) | |
tree | de63f290d0c85422f5c9bb8bfb3e186030f79080 /abs/extra/perl-time-hires | |
parent | 9b21e2c89af805f7e2e3014075318587ae479396 (diff) | |
parent | 28df92c527607da6a77cbc2ba0f8f62bc6dff548 (diff) | |
download | linhes_pkgbuild-a88e0a4caaee4269707417416f8e36c754ea6e16.zip linhes_pkgbuild-a88e0a4caaee4269707417416f8e36c754ea6e16.tar.gz linhes_pkgbuild-a88e0a4caaee4269707417416f8e36c754ea6e16.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/perl-time-hires')
-rw-r--r-- | abs/extra/perl-time-hires/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/perl-time-hires/PKGBUILD b/abs/extra/perl-time-hires/PKGBUILD new file mode 100644 index 0000000..2e01636 --- /dev/null +++ b/abs/extra/perl-time-hires/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 82203 2010-06-09 09:42:03Z jgc $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: mezcal <fila at pruda dot com> + +pkgname=perl-time-hires +pkgver=1.9721 +pkgrel=2 +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 || return 1 + make || return 1 + make test || return 1 + make install DESTDIR="${pkgdir}" || return 1 +} + |