[arch-commits] Commit in perl-time-hires/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Jun 9 09:42:04 UTC 2010


    Date: Wednesday, June 9, 2010 @ 05:42:03
  Author: jgc
Revision: 82203

upgpkg: perl-time-hires 1.9721-2
Rebuild for perl 5.12, add make test

Modified:
  perl-time-hires/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-09 09:38:49 UTC (rev 82202)
+++ PKGBUILD	2010-06-09 09:42:03 UTC (rev 82203)
@@ -4,14 +4,14 @@
 
 pkgname=perl-time-hires
 pkgver=1.9721
-pkgrel=1
+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)
+source=(http://search.cpan.org/CPAN/authors/id/J/JH/JHI/Time-HiRes-${pkgver}.tar.gz)
 md5sums=('bf09911a36b9481537c8e0d28fbb3aaf')
 
 build() {
@@ -20,9 +20,6 @@
   # 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
-
-  # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
 }




More information about the arch-commits mailing list