diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 03:43:46 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 03:43:46 (GMT) |
commit | 4eca038debb1857f60b5a096f5484bb46bacfffe (patch) | |
tree | f2f34a29b0890f1e4eb852bc4b6eab7167ea0dd2 /abs | |
parent | fa050b437f10141db9c28b4f1327d27aa851d944 (diff) | |
download | linhes_pkgbuild-4eca038debb1857f60b5a096f5484bb46bacfffe.zip linhes_pkgbuild-4eca038debb1857f60b5a096f5484bb46bacfffe.tar.gz linhes_pkgbuild-4eca038debb1857f60b5a096f5484bb46bacfffe.tar.bz2 |
perl-time-hires: initial include
Diffstat (limited to 'abs')
-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 +} + |