summaryrefslogtreecommitdiff
path: root/staging/perl-time-hires
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
committerroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
commit956ae4eb53422c92f78d86d5511f25fbf6fa6497 (patch)
treecaf6b75559c4c4d94ad9f94c1909f410c90e2ad0 /staging/perl-time-hires
parent6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff)
Thu May 26 22:47:02 UTC 2011
Diffstat (limited to 'staging/perl-time-hires')
-rw-r--r--staging/perl-time-hires/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/staging/perl-time-hires/PKGBUILD b/staging/perl-time-hires/PKGBUILD
new file mode 100644
index 000000000..db9ddcb7f
--- /dev/null
+++ b/staging/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}"
+}