# Description: The Event module provide a central facility to watch for various types of events and invoke a callback when these events occur. # URL: https://metacpan.org/pod/distribution/Event/lib/Event.pod # Maintainer: Hans Bezemer, hbezemer at kliksafe dot nl # Depends on: name=p5-event version=1.28 release=1 source=(https://cpan.metacpan.org/authors/id/E/ET/ETJ/Event-${version}.tar.gz) build() { cd Event-$version unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps perl Makefile.PL make #make test make install INSTALLDIRS=vendor DESTDIR=$PKG find $PKG -name .packlist -o \ -name perllocal.pod -o \ -name README -o \ -name '*.bs' | xargs rm rm -r $PKG/usr/share/man/ }