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

Eric Bélanger eric at archlinux.org
Fri Oct 7 04:31:11 EDT 2011


    Date: Friday, October 7, 2011 @ 04:31:11
  Author: eric
Revision: 140114

upgpkg: perl-event 1.20-1

Upstream update, Add check function

Modified:
  perl-event/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-07 08:18:56 UTC (rev 140113)
+++ PKGBUILD	2011-10-07 08:31:11 UTC (rev 140114)
@@ -5,16 +5,16 @@
 
 pkgname=perl-event
 _srcname=Event
-pkgver=1.17
+pkgver=1.20
 pkgrel=1
 pkgdesc="Framework for GUI events"
 arch=('i686' 'x86_64')
 license=('PerlArtistic' 'GPL')
 url="http://search.cpan.org/dist/${_srcname}/"
 depends=('perl')
-options=(!emptydirs)
+options=('!emptydirs')
 source=(http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/${_srcname}-${pkgver}.tar.gz)
-md5sums=('c58cdf7c56cd5f10a58b234d2c81295f')
+md5sums=('bdbdf6c1b235c3e13c25f3b0491c5134')
 
 build() {
   cd "${srcdir}/${_srcname}-${pkgver}"
@@ -22,6 +22,10 @@
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd "${srcdir}/${_srcname}-${pkgver}"
   make test
 }
 
@@ -31,6 +35,6 @@
   make install DESTDIR="${pkgdir}"
 
   # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
 }



More information about the arch-commits mailing list