[arch-commits] Commit in perl-time-hires/repos (3 files)
Florian Pritz
bluewind at archlinux.org
Sun May 27 07:43:57 UTC 2012
Date: Sunday, May 27, 2012 @ 03:43:57
Author: bluewind
Revision: 159918
db-move: moved perl-time-hires from [staging] to [testing] (i686)
Added:
perl-time-hires/repos/testing-i686/
perl-time-hires/repos/testing-i686/PKGBUILD
(from rev 159819, perl-time-hires/repos/staging-i686/PKGBUILD)
Deleted:
perl-time-hires/repos/staging-i686/
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-time-hires/repos/testing-i686/PKGBUILD (from rev 159819, perl-time-hires/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-05-27 07:43:57 UTC (rev 159918)
@@ -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