summaryrefslogtreecommitdiff
path: root/extra/perl-time-hires/PKGBUILD
blob: db9ddcb7fa140a01504158a064247f7207423521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}" 
}