Date: Wednesday, February 8, 2012 @ 05:56:06
  Author: eric
Revision: 149502

upgpkg: perl-event-execflow 0.64-3

Rebuild to add signature, Add check function, Update source url

Modified:
  perl-event-execflow/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2012-02-08 10:55:32 UTC (rev 149501)
+++ PKGBUILD    2012-02-08 10:56:06 UTC (rev 149502)
@@ -5,14 +5,14 @@
 pkgname=perl-event-execflow
 _realname=Event-ExecFlow
 pkgver=0.64
-pkgrel=2
+pkgrel=3
 pkgdesc="Framework for perl-events"
-arch=(any)
+arch=('any')
 license=('PerlArtistic')
 url="http://www.exit1.org/${_realname}/";
 depends=('perl-anyevent' 'perl-libintl-perl' 'perl>=5.10.0')
-options=(!emptydirs)
-source=(http://www.exit1.org/packages/${_realname}/dist/${_realname}-${pkgver}.tar.gz)
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/J/JR/JRED/${_realname}-${pkgver}.tar.gz)
 md5sums=('7370ea61607a200239cdd491755efee3')
 
 build() {
@@ -20,14 +20,18 @@
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd "${srcdir}/${_realname}-${pkgver}"
   make test
 }
 
 package() {
   cd "${srcdir}/${_realname}-${pkgver}"
-  make install DESTDIR=${pkgdir}/
+  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
 }

Reply via email to