[arch-commits] Commit in perl-html-tagset/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sat Feb 18 20:15:26 EST 2012


    Date: Saturday, February 18, 2012 @ 20:15:26
  Author: allan
Revision: 150634

upgpkg: perl-html-tagset 3.20-3

signing rebuild

Modified:
  perl-html-tagset/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-19 01:12:18 UTC (rev 150633)
+++ PKGBUILD	2012-02-19 01:15:26 UTC (rev 150634)
@@ -5,9 +5,9 @@
 pkgname=perl-html-tagset
 _realname=HTML-Tagset
 pkgver=3.20
-pkgrel=2
+pkgrel=3
 pkgdesc="Data tables useful in parsing HTML"
-arch=(any)
+arch=('any')
 license=('PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
 depends=('perl>=5.10.0')
@@ -22,15 +22,16 @@
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
   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
-}
 # vim: ts=2 sw=2 et ft=sh



More information about the arch-commits mailing list