[arch-commits] Commit in perl-class-inspector/trunk (PKGBUILD)

Kevin Piché kevin at archlinux.org
Wed Nov 24 02:41:25 UTC 2010


    Date: Tuesday, November 23, 2010 @ 21:41:24
  Author: kevin
Revision: 100553

upgpkg: perl-class-inspector 1.24-2
Rebuilt for perl 5.12.2 and changed arch to any

Modified:
  perl-class-inspector/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-24 02:26:02 UTC (rev 100552)
+++ PKGBUILD	2010-11-24 02:41:24 UTC (rev 100553)
@@ -2,10 +2,10 @@
 pkgname=perl-class-inspector
 _realname=Class-Inspector
 pkgver=1.24
-pkgrel=1
+pkgrel=2
 pkgdesc="'Get information about a class and its structure'"
-arch=(i686 x86_64)
-license=('GPL' 'Artistic')
+arch=(any)
+license=('GPL' 'PerlArtistic')
 url="http://search.cpan.org/~adamk/Class-Inspector"
 options=(!emptydirs)
 depends=('perl>=5.10.1')
@@ -18,8 +18,12 @@
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
+  make test
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
   make install DESTDIR=${pkgdir}
-
   # remove perllocal.pod and .packlist
   find ${pkgdir} -name perllocal.pod -delete
   find ${pkgdir} -name .packlist -delete




More information about the arch-commits mailing list