[arch-commits] Commit in perl-time-hires/repos (3 files)

Florian Pritz bluewind at archlinux.org
Sun May 27 07:43:59 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:43:58
  Author: bluewind
Revision: 159919

db-move: moved perl-time-hires from [staging] to [testing] (x86_64)

Added:
  perl-time-hires/repos/testing-x86_64/
  perl-time-hires/repos/testing-x86_64/PKGBUILD
    (from rev 159819, perl-time-hires/repos/staging-x86_64/PKGBUILD)
Deleted:
  perl-time-hires/repos/staging-x86_64/

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: perl-time-hires/repos/testing-x86_64/PKGBUILD (from rev 159819, perl-time-hires/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-05-27 07:43:58 UTC (rev 159919)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: mezcal <fila at pruda dot com>
+
+pkgname=perl-time-hires
+pkgver=1.9725
+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/Z/ZE/ZEFRAM/Time-HiRes-${pkgver}.tar.gz")
+md5sums=('cb1108c076d26f3d2fed0bb91313135a')
+
+build() {
+  cd "${srcdir}/Time-HiRes-${pkgver}"
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+check() {
+  cd "${srcdir}/Time-HiRes-${pkgver}"
+
+  make test
+}
+
+package() {
+  cd "${srcdir}/Time-HiRes-${pkgver}"
+
+  make install DESTDIR="${pkgdir}"
+}




More information about the arch-commits mailing list